29303132333435
public EncryptedPrivateKeyInfo( AlgorithmIdentifier algId, byte[] encoding) { this.algId = algId; this.data = new DEROctetString(encoding); }
} public IDEACBCPar( byte[] iv) { this.iv = new DEROctetString(iv); }
1920212223242526
public PKCS12PBEParams( byte[] salt, int iterations) { this.iv = new DEROctetString(salt); this.iterations = new ASN1Integer(iterations); }
3233343536373839
public CAST5CBCParameters( byte[] iv, int keyLength) { this.iv = new DEROctetString(iv); this.keyLength = new ASN1Integer(keyLength); }
2324252627282930
{ if (salt.length != 8) { throw new IllegalArgumentException("salt length must be 8"); } this.salt = new DEROctetString(salt); this.iterations = new ASN1Integer(iterations); }
30313233343536
private DigestInfo messageImprint; private ASN1Sequence certs; public Data(byte[] messageBytes) { this.message = new DEROctetString(messageBytes); }
5152535455565758
} public Challenge(AlgorithmIdentifier owf, byte[] witness, byte[] challenge) { this.owf = owf; this.witness = new DEROctetString(witness); this.challenge = new DEROctetString(challenge); }
697071727374757677
public ASN1Primitive toASN1Primitive() { ASN1EncodableVector v = new ASN1EncodableVector(); v.add(hashAlgorithm); v.add(new DEROctetString(hashedMessage)); return new DERSequence(v); }
9293949596979899100101102
public ASN1Primitive toASN1Primitive() { ASN1EncodableVector v = new ASN1EncodableVector(); v.add(digInfo); v.add(new DEROctetString(salt)); if (!iterationCount.equals(ONE)) { v.add(new ASN1Integer(iterationCount)); }
2930313233343536
} } public CertStatus(byte[] certHash, BigInteger certReqId) { this.certHash = new DEROctetString(certHash); this.certReqId = new ASN1Integer(certReqId); }