Package org.hyperledger.fabric.gateway
Interface X509Identity
-
- All Superinterfaces:
Identity
public interface X509Identity extends Identity
Identity comprising an X.509 certificate and associated private key. Instances are created usingIdentities.newX509Identity(String, X509Certificate, PrivateKey)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.security.cert.X509Certificate
getCertificate()
Get the certificate for this identity.java.security.PrivateKey
getPrivateKey()
Get the private key for this identity.
-