Package io.airlift.security.csr
Class CertificationRequestInfo
- java.lang.Object
-
- io.airlift.security.csr.CertificationRequestInfo
-
public class CertificationRequestInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description CertificationRequestInfo(X500Principal subject, PublicKey publicKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)byte[]getEncoded()PublicKeygetPublicKey()X500PrincipalgetSubject()inthashCode()byte[]sign(SignatureAlgorithmIdentifier signatureAlgorithmIdentifier, PrivateKey privateKey)StringtoString()
-
-
-
Constructor Detail
-
CertificationRequestInfo
public CertificationRequestInfo(X500Principal subject, PublicKey publicKey)
-
-
Method Detail
-
getSubject
public X500Principal getSubject()
-
getPublicKey
public PublicKey getPublicKey()
-
getEncoded
public byte[] getEncoded()
-
sign
public byte[] sign(SignatureAlgorithmIdentifier signatureAlgorithmIdentifier, PrivateKey privateKey) throws GeneralSecurityException
- Throws:
GeneralSecurityException
-
-