Class KeyStoreSecretStore.KeyDetails

  • Enclosing class:
    KeyStoreSecretStore

    public final class KeyStoreSecretStore.KeyDetails
    extends Object
    Details of a key that comes from the keystore.
    • Method Detail

      • getAlias

        public String getAlias()
        Get the alias that this key is stored using in the keystore.
        Returns:
        The alias.
      • getCertificate

        public Certificate getCertificate()
        Get the Certificate instance for the public component of this key.
        Returns:
        The Certificate.
      • getCertificateChain

        public List<? extends Certificate> getCertificateChain()
        Get the certificate chain for the public component of this key.
        Returns:
        The certificate chain.
      • getPublicKey

        public PublicKey getPublicKey()
        Get the PublicKey component of this key.
        Returns:
        The PublicKey.