Uses of Class
com.cloudbees.plugins.credentials.SecretBytes
Packages that use SecretBytes
-
Uses of SecretBytes in com.cloudbees.plugins.credentials
Methods in com.cloudbees.plugins.credentials that return SecretBytesModifier and TypeMethodDescriptionstatic SecretBytesSecretBytes.decrypt(byte[] data) Reverse operation ofgetEncryptedData().static SecretBytesSecretBytes.fromBytes(byte[] data) Deprecated.static SecretBytesSecretBytes.fromRawBytes(byte[] data) UnlikefromBytes(byte[])this won't attempt to decrypt this as a secret.static SecretBytesSecretBytes.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.Methods in com.cloudbees.plugins.credentials with parameters of type SecretBytesModifier and TypeMethodDescriptionstatic byte[]SecretBytes.getPlainData(SecretBytes s) Works just likegetPlainData()but avoids NPE when the secret is null.static StringSecretBytes.toString(SecretBytes s) Works just liketoString()but avoids NPE when the secret is null. -
Uses of SecretBytes in com.cloudbees.plugins.credentials.impl
Methods in com.cloudbees.plugins.credentials.impl that return SecretBytesModifier and TypeMethodDescriptionCertificateCredentialsImpl.UploadedKeyStoreSource.getUploadedKeystore()Returns the private key file name.Constructors in com.cloudbees.plugins.credentials.impl with parameters of type SecretBytesModifierConstructorDescriptionUploadedKeyStoreSource(SecretBytes uploadedKeystore) Deprecated.UploadedKeyStoreSource(org.apache.commons.fileupload.FileItem uploadedCertFile, SecretBytes uploadedKeystore) Constructor able to receive file directly
fromRawBytes(byte[])