Package org.hyperledger.fabric.gateway
Interface X509Identity
- All Superinterfaces:
Identity
Identity comprising an X.509 certificate and associated private key. Instances are created using
Identities.newX509Identity(String, X509Certificate, PrivateKey)
.-
Method Summary
Modifier and TypeMethodDescriptionGet the certificate for this identity.Get the private key for this identity.
-
Method Details
-
getCertificate
X509Certificate getCertificate()Get the certificate for this identity.- Returns:
- An X.509 certificate.
-
getPrivateKey
PrivateKey getPrivateKey()Get the private key for this identity.- Returns:
- A private key.
-