public class CertificateCredentialsImpl extends BaseStandardCredentials implements StandardCertificateCredentials
| Modifier and Type | Class and Description |
|---|---|
static class |
CertificateCredentialsImpl.CredentialsSnapshotTakerImpl
|
static class |
CertificateCredentialsImpl.DescriptorImpl
Our descriptor.
|
static class |
CertificateCredentialsImpl.FileOnMasterKeyStoreSource
Let the user reference a file on the disk.
|
static class |
CertificateCredentialsImpl.KeyStoreSource
Represents a source of a
KeyStore. |
static class |
CertificateCredentialsImpl.KeyStoreSourceDescriptor
The base class for all
CertificateCredentialsImpl.KeyStoreSource Descriptor instances. |
static class |
CertificateCredentialsImpl.UploadedKeyStoreSource
Let the user reference a file on the disk.
|
BaseStandardCredentials.BaseStandardCredentialsDescriptorStandardCertificateCredentials.NameProviderIdCredentials.Helpers| Constructor and Description |
|---|
CertificateCredentialsImpl(CredentialsScope scope,
String id,
String description,
String password,
CertificateCredentialsImpl.KeyStoreSource keyStoreSource)
Our constructor.
|
| Modifier and Type | Method and Description |
|---|---|
KeyStore |
getKeyStore()
Returns the
KeyStore containing the certificate. |
CertificateCredentialsImpl.KeyStoreSource |
getKeyStoreSource()
Returns the source of the
getKeyStore(). |
hudson.util.Secret |
getPassword()
Returns the password used to protect the certificate's private key in
getKeyStore(). |
boolean |
isPasswordEmpty()
Whether there is actually a password protecting the certificate's private key in
getKeyStore(). |
equals, getDescription, getId, hashCodegetDescriptor, getScopeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetDescriptiongetId@DataBoundConstructor
public CertificateCredentialsImpl(@CheckForNull
CredentialsScope scope,
@CheckForNull
String id,
@CheckForNull
String description,
@CheckForNull
String password,
@NonNull
CertificateCredentialsImpl.KeyStoreSource keyStoreSource)
scope - the scope.id - the id.description - the description.password - the password.keyStoreSource - the source of the keystore that holds the certificate.@NonNull public KeyStore getKeyStore()
KeyStore containing the certificate.getKeyStore in interface CertificateCredentialsKeyStore containing the certificate.@NonNull public hudson.util.Secret getPassword()
getKeyStore().getPassword in interface PasswordCredentialsgetKeyStore().public boolean isPasswordEmpty()
getKeyStore().true if there is a password protecting the certificate's private key in getKeyStore().public CertificateCredentialsImpl.KeyStoreSource getKeyStoreSource()
getKeyStore().getKeyStore().Copyright © 2016–2018. All rights reserved.