public class KeyAgreeRecipientId extends RecipientId
kek, keyAgree, keyTrans, password
Constructor and Description |
---|
KeyAgreeRecipientId(byte[] subjectKeyId)
Construct a key agree recipient ID with the value of a public key's subjectKeyId.
|
KeyAgreeRecipientId(X500Name issuer,
BigInteger serialNumber)
Construct a key agree recipient ID based on the issuer and serial number of the recipient's associated
certificate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
match(Object obj) |
getType
addPathToName, addPathToName, addSubjectAlternativeName, addSubjectAlternativeName, clone, getAuthorityKeyIdentifier, getBasicConstraints, getCertificate, getCertificateValid, getExtendedKeyUsage, getIssuer, getIssuerAsBytes, getIssuerAsString, getKeyUsage, getMatchAllSubjectAltNames, getNameConstraints, getPathToNames, getPolicy, getPrivateKeyValid, getSerialNumber, getSubject, getSubjectAlternativeNames, getSubjectAsBytes, getSubjectAsString, getSubjectKeyIdentifier, getSubjectPublicKey, getSubjectPublicKeyAlgID, match, setAuthorityKeyIdentifier, setBasicConstraints, setCertificate, setCertificateValid, setExtendedKeyUsage, setIssuer, setIssuer, setIssuer, setKeyUsage, setMatchAllSubjectAltNames, setNameConstraints, setPathToNames, setPolicy, setPrivateKeyValid, setSerialNumber, setSubject, setSubject, setSubject, setSubjectAlternativeNames, setSubjectKeyIdentifier, setSubjectPublicKey, setSubjectPublicKey, setSubjectPublicKeyAlgID, toString
public KeyAgreeRecipientId(byte[] subjectKeyId)
subjectKeyId
- a subjectKeyIdpublic KeyAgreeRecipientId(X500Name issuer, BigInteger serialNumber)
issuer
- the issuer of the recipient's associated certificate.serialNumber
- the serial number of the recipient's associated certificate.Copyright © 2015. All rights reserved.