Beispiel #1
0
        internal bool IsAssociationInPermittedRange(Protocol protocol, string associationType)
        {
            int lengthInBits = HmacShaAssociation.GetSecretLength(protocol, associationType) * 8;

            return(lengthInBits >= MinimumHashBitLength && lengthInBits <= MaximumHashBitLength);
        }
Beispiel #2
0
 internal override string GetAssociationType(Protocol protocol)
 {
     return(typeIdentity.GetAssociationType(protocol));
 }