Package | Description |
---|---|
jenkins.security |
Modifier and Type | Class and Description |
---|---|
class |
CryptoConfidentialKey
ConfidentialKey that stores a SecretKey for shared-secret cryptography (AES). |
class |
HexStringConfidentialKey
ConfidentialKey that is the random hexadecimal string of length N. |
class |
HMACConfidentialKey
ConfidentialKey that's used for creating a token by hashing some information with secret
(such as hash(msg|secret)). |
Modifier and Type | Method and Description |
---|---|
protected abstract byte[] |
ConfidentialStore.load(ConfidentialKey key)
Reverse operation of
ConfidentialStore.store(ConfidentialKey, byte[]) |
protected byte[] |
DefaultConfidentialStore.load(ConfidentialKey key)
Reverse operation of
DefaultConfidentialStore.store(ConfidentialKey, byte[]) |
protected abstract void |
ConfidentialStore.store(ConfidentialKey key,
byte[] payload)
Persists the payload of
ConfidentialKey to a persisted storage (such as disk.)
The expectation is that the persisted form is secure. |
protected void |
DefaultConfidentialStore.store(ConfidentialKey key,
byte[] payload)
Persists the payload of
ConfidentialKey to the disk. |
Copyright © 2016. All rights reserved.