| Package | Description |
|---|---|
| com.cloudbees.plugins.credentials | |
| com.cloudbees.plugins.credentials.impl |
| Modifier and Type | Method and Description |
|---|---|
SecretBytes |
SecretBytes.StaplerConverterImpl.convert(Class type,
Object value) |
static SecretBytes |
SecretBytes.decrypt(byte[] data)
Reverse operation of
getEncryptedData(). |
static SecretBytes |
SecretBytes.fromBytes(byte[] data)
Attempts to treat the given bytes first as a cipher encrypted bytes, and if it doesn't work,
treat the given bytes as the unencrypted secret value.
|
static SecretBytes |
SecretBytes.fromString(String data)
Attempts to treat the given bytes first as a cipher text, and if it doesn't work,
treat the given string as the unencrypted BASE-64 encoded byte array.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
SecretBytes.getPlainData(SecretBytes s)
Works just like
getPlainData() but avoids NPE when the secret is null. |
static String |
SecretBytes.toString(SecretBytes s)
Works just like
toString() but avoids NPE when the secret is null. |
| Modifier and Type | Method and Description |
|---|---|
SecretBytes |
CertificateCredentialsImpl.UploadedKeyStoreSource.getUploadedKeystore()
Returns the private key file name.
|
SecretBytes |
CertificateCredentialsImpl.UploadedKeyStoreSource.Upload.getUploadedKeystore()
Returns the content.
|
| Constructor and Description |
|---|
Upload(String divId,
SecretBytes uploadedKeystore)
Our constructor.
|
UploadedKeyStoreSource(SecretBytes uploadedKeystore)
Our constructor.
|
Copyright © 2016–2018. All rights reserved.