Interface X509Credential

    • Method Detail

      • getKeyStore

        KeyStore getKeyStore()
        Returns the credential in a keystore.
        Returns:
        the KeyStore
      • getKeyManager

        X509ExtendedKeyManager getKeyManager()
        Returns a KeyManager which accompanies the KeyStore.
        Returns:
        the KeyManager
      • getKeyPassword

        char[] getKeyPassword()
        Returns a password which can be used to obtain PrivateKey entry from the KeyStore returned by the getKeyStore() method, with the alias returned by the getKeyAlias() method.
        Returns:
        key password
      • getKeyAlias

        String getKeyAlias()
        Returns an alias which can be used to obtain the PrivateKey entry from the KeyStore returned by the getKeyStore() method.
        Returns:
        key alias
      • getKey

        PrivateKey getKey()
        Helper method to get private key from the underlying keystore
        Returns:
        private key
      • getCertificate

        X509Certificate getCertificate()
        Helper method to get certificate from the underlying keystore
        Returns:
        certificate
      • getCertificateChain

        X509Certificate[] getCertificateChain()
        Helper method to get certificate chain from the underlying keystore
        Returns:
        certificate chain
      • getSubjectName

        String getSubjectName()
        Returns:
        RFC 2253 distinguished name of the certificate subject
        Since:
        1.1.0