Class 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.String getCert​()
      Get the user's signed certificate.
      java.security.PrivateKey getKey​()
      Get the user's private key
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • X509Enrollment

        public X509Enrollment​(java.security.KeyPair signingKeyPair,
                              java.lang.String signedPem)
      • X509Enrollment

        public X509Enrollment​(java.security.PrivateKey key,
                              java.lang.String signedPem)
    • Method Detail

      • getKey

        public java.security.PrivateKey getKey​()
        Description copied from interface: Enrollment
        Get the user's private key
        Specified by:
        getKey in interface Enrollment
        Returns:
        private key.
      • getCert

        public java.lang.String getCert​()
        Description copied from interface: Enrollment
        Get the user's signed certificate.
        Specified by:
        getCert in interface Enrollment
        Returns:
        a certificate.