Class X509Enrollment
- java.lang.Object
 - 
- org.hyperledger.fabric.sdk.identity.X509Enrollment
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable,Enrollment
public class X509Enrollment extends java.lang.Object implements Enrollment, java.io.Serializable
- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description X509Enrollment(java.security.KeyPair signingKeyPair, java.lang.String signedPem)X509Enrollment(java.security.PrivateKey key, java.lang.String signedPem) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCert()Get the user's signed certificate.java.security.PrivateKeygetKey()Get the user's private key 
 - 
 
- 
- 
Method Detail
- 
getKey
public java.security.PrivateKey getKey()
Description copied from interface:EnrollmentGet the user's private key- Specified by:
 getKeyin interfaceEnrollment- Returns:
 - private key.
 
 
- 
getCert
public java.lang.String getCert()
Description copied from interface:EnrollmentGet the user's signed certificate.- Specified by:
 getCertin interfaceEnrollment- Returns:
 - a certificate.
 
 
 - 
 
 -