Class CertificateCredentialsImpl.KeyStoreSourceDescriptor

    • Method Detail

      • validateCertificateKeystore

        @NonNull
        protected static FormValidation validateCertificateKeystore​(String type,
                                                                    byte[] keystoreBytes,
                                                                    String password)
        Helper method that performs form validation on a KeyStore.
        Parameters:
        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.
        Returns:
        the validation results.