GetInstance() public static method

public static GetInstance ( Asn1TaggedObject obj, bool isExplicit ) : KeyAgreeRecipientIdentifier
obj Asn1TaggedObject
isExplicit bool
return KeyAgreeRecipientIdentifier
Example #1
0
 private RecipientEncryptedKey(
     Asn1Sequence seq)
 {
     identifier   = KeyAgreeRecipientIdentifier.GetInstance(seq[0]);
     encryptedKey = (Asn1OctetString)seq[1];
 }
Example #2
0
 public static KeyAgreeRecipientIdentifier GetInstance(Asn1TaggedObject obj, bool isExplicit)
 {
     return(KeyAgreeRecipientIdentifier.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)));
 }