public class CredentialsConfidentialKey
extends jenkins.security.ConfidentialKey
ConfidentialKey that stores a SecretKey for shared-secret cryptography (AES).| Constructor and Description |
|---|
CredentialsConfidentialKey(Class owner,
String shortName)
Constructor.
|
CredentialsConfidentialKey(String id) |
| Modifier and Type | Method and Description |
|---|---|
Cipher |
decrypt(byte[] salt)
Returns a
Cipher object for decrypting with this key. |
Cipher |
encrypt(byte[] salt)
Returns a
Cipher object for encrypting with this key. |
Copyright © 2016–2017. All rights reserved.