示例#1
0
 /// <summary>
 /// Encodes the AlgorithmIdentifier, as defined in PKCS#5 (RFC 2898).
 /// </summary>
 /// <param name="Der">DER output.</param>
 public override void EncodePkcs5AlgorithmIdentifier(DerEncoder Der)
 {
     Der.StartSEQUENCE();
     Der.OBJECT_IDENTIFIER(this.AlgorithmOID);
     Der.StartSEQUENCE();                        // pkcs-12PbeParams
     Der.OCTET_STRING(this.salt);
     Der.INTEGER(this.iterations);
     Der.EndSEQUENCE();                          // End of pkcs-12PbeParams
     Der.EndSEQUENCE();
 }