Package jenkins.security
Class HexStringConfidentialKey
- java.lang.Object
-
- jenkins.security.ConfidentialKey
-
- jenkins.security.HexStringConfidentialKey
-
public class HexStringConfidentialKey extends ConfidentialKey
ConfidentialKey
that is the random hexadecimal string of length N.This is typically used as a unique ID, as a hex dump is suitable for printing, copy-pasting, as well as use as an identifier.
- Since:
- 1.498
- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description HexStringConfidentialKey(Class owner, String shortName, int length)
HexStringConfidentialKey(String id, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get()
Returns the persisted hex string value.-
Methods inherited from class jenkins.security.ConfidentialKey
getId, load, store
-
-