Class OpenPGPSignatureGenerator
java.lang.Object
org.apache.ivy.plugins.signer.bouncycastle.OpenPGPSignatureGenerator
- All Implemented Interfaces:
SignatureGenerator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()private org.bouncycastle.openpgp.PGPSecretKeyvoidvoidvoidsetPassword(String password) voidsetSecring(String secring) void
-
Field Details
-
MASK
private static final long MASK- See Also:
-
name
-
secring
-
password
-
keyId
-
pgpSec
private org.bouncycastle.openpgp.PGPSecretKey pgpSec
-
-
Constructor Details
-
OpenPGPSignatureGenerator
public OpenPGPSignatureGenerator()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceSignatureGenerator
-
setName
-
getExtension
- Specified by:
getExtensionin interfaceSignatureGenerator
-
setPassword
-
setSecring
-
setKeyId
-
sign
- Specified by:
signin interfaceSignatureGenerator- Throws:
IOException
-
readSecretKey
private org.bouncycastle.openpgp.PGPSecretKey readSecretKey(InputStream in) throws IOException, org.bouncycastle.openpgp.PGPException - Throws:
IOExceptionorg.bouncycastle.openpgp.PGPException
-