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.PGPSecretKey
void
void
void
setPassword
(String password) void
setSecring
(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:
getName
in interfaceSignatureGenerator
-
setName
-
getExtension
- Specified by:
getExtension
in interfaceSignatureGenerator
-
setPassword
-
setSecring
-
setKeyId
-
sign
- Specified by:
sign
in interfaceSignatureGenerator
- Throws:
IOException
-
readSecretKey
private org.bouncycastle.openpgp.PGPSecretKey readSecretKey(InputStream in) throws IOException, org.bouncycastle.openpgp.PGPException - Throws:
IOException
org.bouncycastle.openpgp.PGPException
-