Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant.JPakeParticipant C# (CSharp) Method

JPakeParticipant() public method

Convenience constructor for a new JPakeParticipant that uses the JPakePrimeOrderGroups#NIST_3072 prime order group, a SHA-256 digest, and a default SecureRandom implementation. After construction, the State state will be STATE_INITIALIZED. Throws NullReferenceException if any argument is null. Throws ArgumentException if password is empty.
public JPakeParticipant ( string participantId, Array password ) : System
participantId string Unique identifier of this participant. /// The two participants in the exchange must NOT share the same id.
password Array Shared secret. /// A defensive copy of this array is made (and cleared once CalculateKeyingMaterial() is called). /// Caller should clear the input password as soon as possible.
return System
        public JPakeParticipant(string participantId, char[] password)
            : this(participantId, password, JPakePrimeOrderGroups.NIST_3072) { }

Same methods

JPakeParticipant::JPakeParticipant ( string participantId, Array password, Org.BouncyCastle.Crypto.Agreement.JPake.JPakePrimeOrderGroup group ) : System
JPakeParticipant::JPakeParticipant ( string participantId, Array password, Org.BouncyCastle.Crypto.Agreement.JPake.JPakePrimeOrderGroup group, IDigest digest, SecureRandom random ) : System