Package jenkins.security
Class RSADigitalSignatureConfidentialKey
- java.lang.Object
-
- jenkins.security.ConfidentialKey
-
- jenkins.security.RSAConfidentialKey
-
- jenkins.security.RSADigitalSignatureConfidentialKey
-
public class RSADigitalSignatureConfidentialKey extends RSAConfidentialKey
RSA digital signature asConfidentialKey
to prevent accidental leak of private key.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description RSADigitalSignatureConfidentialKey(Class owner, String shortName)
RSADigitalSignatureConfidentialKey(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
sign(String msg)
Sign a message and base64 encode the signature.-
Methods inherited from class jenkins.security.RSAConfidentialKey
getEncodedPublicKey, getPrivateKey, getPublicKey
-
Methods inherited from class jenkins.security.ConfidentialKey
getId, load, store
-
-