Package io.anyline.nfc.bouncycastle.cms
Class SignerId
-
-
Constructor Summary
Constructors Constructor Description SignerId(Array<byte> subjectKeyId)Construct a signer ID with the value of a public key's subjectKeyId. SignerId(X500Name issuer, BigInteger serialNumber)Construct a signer ID based on the issuer and serial number of the signer's associated certificate. SignerId(X500Name issuer, BigInteger serialNumber, Array<byte> subjectKeyId)Construct a signer ID based on the issuer and serial number of the signer's associated certificate.
-
Method Summary
Modifier and Type Method Description X500NamegetIssuer()BigIntegergetSerialNumber()Array<byte>getSubjectKeyIdentifier()inthashCode()booleanequals(Object o)booleanmatch(Object obj)Match the passed in object, returning true if it would be selected by this selector, false otherwise. Objectclone()-
-
Constructor Detail
-
SignerId
SignerId(Array<byte> subjectKeyId)
Construct a signer ID with the value of a public key's subjectKeyId.- Parameters:
subjectKeyId- a subjectKeyId
-
SignerId
SignerId(X500Name issuer, BigInteger serialNumber)
Construct a signer ID based on the issuer and serial number of the signer's associated certificate.- Parameters:
issuer- the issuer of the signer's associated certificate.serialNumber- the serial number of the signer's associated certificate.
-
SignerId
SignerId(X500Name issuer, BigInteger serialNumber, Array<byte> subjectKeyId)
Construct a signer ID based on the issuer and serial number of the signer's associated certificate.- Parameters:
issuer- the issuer of the signer's associated certificate.serialNumber- the serial number of the signer's associated certificate.subjectKeyId- the subject key identifier to use to match the signers associated certificate.
-
-
Method Detail
-
getSerialNumber
BigInteger getSerialNumber()
-
getSubjectKeyIdentifier
Array<byte> getSubjectKeyIdentifier()
-
hashCode
int hashCode()
-
match
boolean match(Object obj)
Match the passed in object, returning true if it would be selected by this selector, false otherwise.
- Parameters:
obj- the object to be matched.- Returns:
true if the object is a match for this selector, false otherwise.
-
-
-
-