public static class CertificateCredentialsImpl.UploadedKeyStoreSource extends CertificateCredentialsImpl.KeyStoreSource implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CertificateCredentialsImpl.UploadedKeyStoreSource.DescriptorImpl
The base class for all
CertificateCredentialsImpl.KeyStoreSource Descriptor instances. |
static class |
CertificateCredentialsImpl.UploadedKeyStoreSource.Upload
Stapler binding object to handle a pop-up window for file upload.
|
Constructor and Description |
---|
UploadedKeyStoreSource(SecretBytes uploadedKeystore)
Our constructor.
|
UploadedKeyStoreSource(String uploadedKeystore)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getKeyStoreBytes()
Returns the
byte[] content of the KeyStore . |
long |
getKeyStoreLastModified()
Returns a
System.currentTimeMillis() comparable timestamp of when the content was last modified. |
SecretBytes |
getUploadedKeystore()
Returns the private key file name.
|
boolean |
isSnapshotSource()
Returns
true if and only if the source is self contained. |
String |
toString() |
getDescriptor
@Deprecated public UploadedKeyStoreSource(String uploadedKeystore)
uploadedKeystore
- the keystore content.@DataBoundConstructor public UploadedKeyStoreSource(SecretBytes uploadedKeystore)
uploadedKeystore
- the keystore content.public SecretBytes getUploadedKeystore()
@NonNull public byte[] getKeyStoreBytes()
byte[]
content of the KeyStore
.getKeyStoreBytes
in class CertificateCredentialsImpl.KeyStoreSource
byte[]
content of the KeyStore
.public long getKeyStoreLastModified()
System.currentTimeMillis()
comparable timestamp of when the content was last modified.
Used to track refreshing the CertificateCredentialsImpl.keyStore
cache for sources that pull
from an external source.getKeyStoreLastModified
in class CertificateCredentialsImpl.KeyStoreSource
System.currentTimeMillis()
comparable timestamp of when the content was last modified.public boolean isSnapshotSource()
true
if and only if the source is self contained.isSnapshotSource
in class CertificateCredentialsImpl.KeyStoreSource
true
if and only if the source is self contained.Copyright © 2016–2021. All rights reserved.