| Package | Description |
|---|---|
| org.dihedron.crypto.operations.sign | |
| org.dihedron.crypto.operations.sign.pkcs7 |
The package containing the implementation of the CMS/PKCS#7 signer.
|
| Modifier and Type | Field and Description |
|---|---|
protected SigningStreamConfigurator |
SigningStream.configurator
The signing stream configurator.
|
| Modifier and Type | Method and Description |
|---|---|
SigningStreamConfigurator |
SigningStreamConfigurator.addTrustAnchor(Certificate trustAnchor)
Adds the given trust anchor certificate to the set that will be used for
PKIX certificate verification path buildup.
|
SigningStreamConfigurator |
SigningStreamConfigurator.addTrustAnchors(Collection<X509Certificate> trustAnchors)
Adds the given collection of trust anchor certificates to the set that will
be used for PKIX certificate verification path buildup.
|
SigningStreamConfigurator |
SigningStreamConfigurator.clearTrustAnchors()
Resets the collection of trust anchor certificates to be used for PKIX
certificate verification path buildup.
|
SigningStreamConfigurator |
SigningStreamConfigurator.setAlgorithm(SignatureAlgorithm algorithm)
Sets the new value of the algorithm.
|
SigningStreamConfigurator |
SigningStreamConfigurator.setAlias(String alias)
Sets the new value of the signing certificate alias.
|
SigningStreamConfigurator |
SigningStreamConfigurator.setEncapsulateData(boolean encapsulateData)
Sets whether the signer should encapsulate data along with the signature.
|
SigningStreamConfigurator |
SigningStreamConfigurator.setKeyRing(KeyRing keyring)
Sets the new value of the key ring.
|
SigningStreamConfigurator |
SigningStreamConfigurator.setProvider(Provider provider)
Sets the new value of the provider.
|
SigningStreamConfigurator |
SigningStreamConfigurator.setVerifyCertificate(boolean verifyCertificate)
Sets whether the signer should verify the certificate before signing.
|
| Constructor and Description |
|---|
SigningStream(OutputStream output,
SigningStreamConfigurator configurator)
Constructor.
|
| Constructor and Description |
|---|
PKCS7SigningStream(OutputStream output,
SigningStreamConfigurator configurator)
Constructor.
|
Copyright © 2012-2014 Andrea Funtò. See here for terms and conditions.