Class CertificateCredentialsImpl.KeyStoreSourceDescriptor

    • Method Detail

      • validateCertificateKeystore

        protected static FormValidation validateCertificateKeystore​(String type,
                                                                    byte[] keystoreBytes,
                                                                    String password)
        Helper method that performs form validation on a KeyStore.
        type - the type of keystore to instantiate, see KeyStore.getInstance(String).
        keystoreBytes - the byte[] content of the KeyStore.
        password - the password to use when loading the KeyStore and recovering the key from the KeyStore.
        the validation results.