Class SelfSignedCertificateBuilder


  • public class SelfSignedCertificateBuilder
    extends java.lang.Object
    • Field Detail

      • SA_SHA1_RSA

        public static final java.lang.String SA_SHA1_RSA
        Signature Algorithm for SHA1 with RSA.

        SHA1 was broken in 2017 and this algorithm should not be used.

        See Also:
        Constant Field Values
      • SA_SHA256_RSA

        public static final java.lang.String SA_SHA256_RSA
        Signature Algorithm for SHA256 with RSA.
        See Also:
        Constant Field Values
      • SA_SHA256_ECDSA

        public static final java.lang.String SA_SHA256_ECDSA
        Signature Algorithm for SHA256 with ECDSA.

        May only be uses with EC-based KeyPairs and security profiles.

        See Also:
        Constant Field Values
    • Constructor Detail

      • SelfSignedCertificateBuilder

        public SelfSignedCertificateBuilder​(java.security.KeyPair keyPair)