- CertificateException - Exception in org.dihedron.crypto.exceptions
-
The base class for all exceptions related to certificate validity or
availability.
- CertificateException() - Constructor for exception org.dihedron.crypto.exceptions.CertificateException
-
Constructor.
- CertificateException(String) - Constructor for exception org.dihedron.crypto.exceptions.CertificateException
-
Constructor.
- CertificateException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateException
-
Constructor.
- CertificateException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateException
-
Constructor.
- CertificateLoader - Interface in org.dihedron.crypto.certificates
-
- CertificateLoaderException - Exception in org.dihedron.crypto.exceptions
-
- CertificateLoaderException() - Constructor for exception org.dihedron.crypto.exceptions.CertificateLoaderException
-
- CertificateLoaderException(String) - Constructor for exception org.dihedron.crypto.exceptions.CertificateLoaderException
-
- CertificateLoaderException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateLoaderException
-
- CertificateLoaderException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateLoaderException
-
- CertificateLoaderFactory - Class in org.dihedron.crypto.certificates
-
CertificateLoader factory class; in order to create new instances, it uses the
set of properties provided as input; no state is kept between invocations, so
the class is fully re-entrant.
- Certificates - Class in org.dihedron.crypto.certificates
-
Collection of utilities to manipulate certificates; it provides ways to
get the certificate usage, to build a certification chain for a given
certificate and to verify it.
- CertificateVerificationException - Exception in org.dihedron.crypto.exceptions
-
This class wraps an exception that could be thrown during the certificate
verification process.
- CertificateVerificationException(String) - Constructor for exception org.dihedron.crypto.exceptions.CertificateVerificationException
-
Constructor.
- CertificateVerificationException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateVerificationException
-
Constructor.
- clear() - Method in class org.dihedron.crypto.providers.AutoCloseableProvider
-
Clears the state of the underlying provider.
- clearTrustAnchors() - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Resets the collection of trust anchor certificates to be used for PKIX
certificate verification path buildup.
- close() - Method in class org.dihedron.crypto.KeyRing
-
Attempts to log out of the KeyStore if supported by the underlying
technology, and releases its reference.
- close() - Method in class org.dihedron.crypto.operations.sign.pkcs7.PKCS7SigningStream
-
Closes this output stream and releases any system resources associated
with the stream.
- close() - Method in class org.dihedron.crypto.providers.AutoCloseableProvider
-
- close() - Method in class org.dihedron.crypto.providers.mscapi.MicrosoftKeyRing
-
- close() - Method in class org.dihedron.crypto.providers.pkcs12.PKCS12KeyRing
-
- close() - Method in class org.dihedron.crypto.providers.smartcard.SmartCardKeyRing
-
- close() - Method in class org.dihedron.crypto.providers.smartcard.SmartCardProvider
-
Implements the AutoCloseable#close() methos in a smart-card specific way.
- configurator - Variable in class org.dihedron.crypto.operations.sign.SigningStream
-
The signing stream configurator.
- CRL - Class in org.dihedron.crypto.crl
-
Class that verifies CRLs for given X509 certificate.
- CRL() - Constructor for class org.dihedron.crypto.crl.CRL
-
- Crypto - Class in org.dihedron.crypto
-
- CryptoException - Exception in org.dihedron.crypto.exceptions
-
The root of the exception hierarchy in the Crypto library.
- CryptoException() - Constructor for exception org.dihedron.crypto.exceptions.CryptoException
-
Default constructor.
- CryptoException(String) - Constructor for exception org.dihedron.crypto.exceptions.CryptoException
-
Constructor.
- CryptoException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CryptoException
-
Constructor.
- CryptoException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CryptoException
-
Constructor.
- CryptoService - Class in org.dihedron.crypto
-
- CryptoService() - Constructor for class org.dihedron.crypto.CryptoService
-
Protected constructor, to be used only by inheriting classes.
- FileCertificateLoader - Class in org.dihedron.crypto.certificates.impl
-
- FileCertificateLoader() - Constructor for class org.dihedron.crypto.certificates.impl.FileCertificateLoader
-
- FILENAME - Static variable in class org.dihedron.crypto.certificates.impl.FileCertificateLoader
-
the name of the property holding the file name.
- flush() - Method in class org.dihedron.crypto.operations.sign.pkcs7.PKCS7SigningStream
-
Flushes this output stream and forces any buffered output bytes to be
written out to the stream.
- fromAlgorithmAsn1Ids(String, String) - Static method in enum org.dihedron.crypto.constants.SignatureAlgorithm
-
Factory method, returns the enumeration value corresponding to the two
given algorithm descriptions.
- fromAlgorithmDescriptions(String, String) - Static method in enum org.dihedron.crypto.constants.SignatureAlgorithm
-
Factory method, returns the enumeration value corresponding to the two
given algorithm descriptions.
- fromAsn1Id(String) - Static method in enum org.dihedron.crypto.constants.DigestAlgorithm
-
Factory method: returns the Digest object corresponding to the given
algorithm id (in ASN.1 format).
- fromAsn1Id(String) - Static method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
-
Factory method: returns the Encryption object corresponding to the given
ASN.1 algorithm code (e.g.
- fromBouncyCastleCode(String) - Static method in enum org.dihedron.crypto.constants.DigestAlgorithm
-
Factory method: returns the Digest object corresponding to the given
BouncyCastle algorithm id (e.g.
- fromBouncyCastleCode(String) - Static method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
-
Factory method: returns the Encryption object corresponding to the given
BouncyCastle algorithm code (e.g.
- fromBouncyCastleCode(String) - Static method in enum org.dihedron.crypto.constants.SignatureAlgorithm
-
Attempts to translate the BouncyCastle code of a signature algorithm (in
the "SHA1withRSA" format into an enumeration value.
- fromBouncyCastleCodes(String, String) - Static method in enum org.dihedron.crypto.constants.SignatureAlgorithm
-
Factory method, returns the enumeration value corresponding to the two
given algorithm descriptions.
- fromDescription(String) - Static method in enum org.dihedron.crypto.constants.DigestAlgorithm
-
Factory method: returns the Digest object corresponding to the given text
description.
- fromDescription(String) - Static method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
-
Factory method: returns the Encryption object corresponding to the given
text description.
- fromJavaRootCAs() - Static method in class org.dihedron.crypto.certificates.TrustAnchors
-
Attempts to load the certificates of the most trusted CAs ("root CAs") as
known to the Java Virtual Machine.
- fromLDAP(String) - Static method in class org.dihedron.crypto.crl.CRL
-
Downloads a CRL from given LDAP url, e.g.
- fromString(String) - Static method in enum org.dihedron.crypto.constants.SignatureFormat
-
Tries to find a SignatureFormat value corresponding to the given
textual description; the comparison is performed case insensitively.
- fromTSL(String) - Static method in class org.dihedron.crypto.certificates.TrustAnchors
-
Attempts to load the certificates of a set of trust anchors from a TSL; if
anything fails, returns an empty list of certificates.
- fromURL(String) - Static method in class org.dihedron.crypto.crl.CRL
-
Downloads the CRL from the given URL.
- fromWeb(String) - Static method in class org.dihedron.crypto.crl.CRL
-
Downloads a CRL from given HTTP/HTTPS/FTP URL, e.g.
- getAlgorithm() - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Returns the value of the algorithm.
- getAlias() - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Returns the value of the alias.
- getAsn1Id() - Method in enum org.dihedron.crypto.constants.DigestAlgorithm
-
Returns the numeric (in text form) id of the digest algorithm.
- getAsn1Id() - Method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
-
Returns the numeric (in text form) id of the encryption algorithm.
- getATR() - Method in class org.dihedron.crypto.providers.smartcard.discovery.Reader
-
If a smart card is inserted into the reader, returns its ATR (answer-to-reset)
code.
- getATR() - Method in class org.dihedron.crypto.providers.smartcard.discovery.SmartCard
-
Retrieves the smart card SMARTCARD_ATR.
- getAttributes(Map) - Method in class org.dihedron.crypto.operations.sign.pkcs7.PKCS7AttributeTableGenerator
-
- getBouncyCastleCode() - Method in enum org.dihedron.crypto.constants.DigestAlgorithm
-
Returns the BouncyCastle code for the given algorithm.
- getBouncyCastleCode() - Method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
-
returns the BouncyCastle code for the given encryption algorithm.
- getCertificate(String) - Method in class org.dihedron.crypto.KeyRing
-
Retrieves the certificate for the given alias.
- getCertificate() - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Retrieves the signing certificate, possibly checking it against the list
of trust anchor certificates (if provided).
- getCertificateChain(String) - Method in class org.dihedron.crypto.KeyRing
-
Gets the certificate chain for the given alias.
- getCertificateChainAsArray(String) - Method in class org.dihedron.crypto.KeyRing
-
Gets the certificate chain for the given alias, as an array of Certificates.
- getCrlDistributionPoints(X509Certificate) - Static method in class org.dihedron.crypto.crl.CRL
-
Extracts all CRL distribution point URLs from the "CRL Distribution Point"
extension in a X.509 certificate.
- getDescription() - Method in enum org.dihedron.crypto.constants.DigestAlgorithm
-
Returns the text description of the digest algorithm.
- getDescription() - Method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
-
Returns the text description of the encryption algorithm.
- getDescription() - Method in enum org.dihedron.crypto.constants.SignatureFormat
-
Returns the format as a descriptive string.
- getDescription() - Method in class org.dihedron.crypto.providers.smartcard.discovery.Reader
-
Returns a string describing model and make of the smart card reader.
- getDescription() - Method in class org.dihedron.crypto.providers.smartcard.discovery.SmartCard
-
Returns the smart card description.
- getDigestAlgorithm() - Method in enum org.dihedron.crypto.constants.SignatureAlgorithm
-
Returns the algorithm used to hash the data.
- getDriver(Platform) - Method in class org.dihedron.crypto.providers.smartcard.discovery.SmartCard
-
Attempts to find the supporting PKCS#11 driver on disk.
- getEncryptionAlgorithm() - Method in enum org.dihedron.crypto.constants.SignatureAlgorithm
-
Returns the algorithm used to encrypt the hashed data.
- getExtensionValue(X509Certificate, String) - Static method in class org.dihedron.crypto.certificates.Certificates
-
- getInfo() - Method in class org.dihedron.crypto.providers.AutoCloseableProvider
-
Returns information about the underlying provider.
- getKeyPair(String, String) - Method in class org.dihedron.crypto.KeyRing
-
Gets a private and public key pair for the
given alias.
- getKeyRing() - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Returns the value of the key ring.
- getKeyStore() - Method in class org.dihedron.crypto.KeyRing
-
Deprecated.
- getManufacturer() - Method in class org.dihedron.crypto.providers.smartcard.discovery.SmartCard
-
Returns the smart card manufacturer.
- getName() - Method in class org.dihedron.crypto.providers.AutoCloseableProvider
-
Returns the name of the underlying provider.
- getPIN() - Method in class org.dihedron.crypto.ui.PINDialog
-
Shows the dialog and returns the actual PIN.
- getPlatform() - Method in class org.dihedron.crypto.providers.smartcard.discovery.Driver
-
Returns the platform on which this driver is supported.
- getPrivateKey(String) - Method in class org.dihedron.crypto.KeyRing
-
Returns the private key (or a proxy) for the given alias.
- getPrivateKey(String, String) - Method in class org.dihedron.crypto.KeyRing
-
Returns the private key for the given alias, using the provided password
to unlock it; the key pair (private/public) password can differ from that
of the key store it is kept in.
- getPrivateKey() - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Returns the private key corresponding to the given alias.
- getProvider() - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Returns the value of the provider.
- getProvider(MicrosoftTraits) - Method in class org.dihedron.crypto.providers.mscapi.MicrosoftProvider
-
Installs a new Microsoft CryptoAPI security provider; the provider may
provide access to smart card devices if these have certificate propagation
enabled.
- getProvider(PKCS12Traits) - Method in class org.dihedron.crypto.providers.pkcs12.PKCS12Provider
-
This is a do-nothing implementation since PKCS#12 key stores are self-
contained and need no supporting security provider to be accessed: everything
is stored in a file (or in a byte array, for what matters) and can be
loaded directly into a KeyStore through the key store's own API.
- getProvider(T) - Method in class org.dihedron.crypto.providers.ProviderFactory
-
Creates and installs a security provider of the specific type, using the
given traits to perform its configuration.
- getProvider(SmartCardTraits) - Method in class org.dihedron.crypto.providers.smartcard.SmartCardProviderFactory
-
Installs a new PKCS#11 security provider supporting the smart card model
and make specified in the initialisation traits, which must provide a
reference to the smart card reader in which the card is present and to
the database entry corresponding to the card's model.
- getPublicKey(String) - Method in class org.dihedron.crypto.KeyRing
-
Returns the public key for the given alias.
- getPublicKey(String, String) - Method in class org.dihedron.crypto.KeyRing
-
Returns the public key for the given alias, using the provided password
to unlock it; the key pair (private/public) password can differ from that
of the key store it is kept in.
- getReader() - Method in class org.dihedron.crypto.providers.smartcard.SmartCardTraits
-
Returns the reader holding the smart card.
- getSignatureKeyAliases() - Method in class org.dihedron.crypto.KeyRing
-
Retrieves a list of aliases corresponding to certificates that bear the
"signature" critical extension OID.
- getSlot() - Method in class org.dihedron.crypto.providers.smartcard.discovery.Reader
-
Returns the slot index assigned to this reader.
- getSmartCard() - Method in class org.dihedron.crypto.providers.smartcard.SmartCardTraits
-
Returns the database entry for the smart card in the reader.
- getTrustAnchors() - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Returns the collection of trust anchor certificates.
- getVersion() - Method in class org.dihedron.crypto.providers.AutoCloseableProvider
-
Returns the version of the underlying provider.
- getWrappedProvider() - Method in class org.dihedron.crypto.providers.AutoCloseableProvider
-
Returns a reference to the wrapped provider; this method is internal; do
not use it.
- initialise(Object...) - Method in class org.dihedron.crypto.operations.decrypt.Decryptor
-
Initialises the class with a set of (optional) parameters.
- initialise(Object...) - Method in class org.dihedron.crypto.operations.decrypt.pkcs7.Pkcs7Decryptor
-
Initialises the object and prepares it for signing.
- initialise(Object...) - Method in class org.dihedron.crypto.operations.encrypt.Encryptor
-
Initialises the class with a set of (optional) parameters.
- initialise(Object...) - Method in class org.dihedron.crypto.operations.encrypt.pkcs7.Pkcs7Encryptor
-
Initialises the object and prepares it for signing.
- InvalidPinException - Exception in org.dihedron.crypto.exceptions
-
- InvalidPinException() - Constructor for exception org.dihedron.crypto.exceptions.InvalidPinException
-
Constructor.
- InvalidPinException(String) - Constructor for exception org.dihedron.crypto.exceptions.InvalidPinException
-
Constructor.
- InvalidPinException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.InvalidPinException
-
Constructor.
- InvalidPinException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.InvalidPinException
-
Constructor.
- isCertificateAlias(String) - Method in class org.dihedron.crypto.KeyRing
-
Checks whether the alias has a corresponding certificate.
- isEncapsulateData() - Method in class org.dihedron.crypto.operations.sign.Signer
-
Returns whether the data is going to be encapsulated along with the signature.
- isEncapsulateData() - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Returns whether the signer should encapsulate data along with the signature.
- isHashOnCard() - Method in class org.dihedron.crypto.providers.smartcard.SmartCardTraits
-
Returns whether the new provider will hash data in code or on the smart card.
- isNonRepudiationX509Certificate(X509Certificate) - Static method in class org.dihedron.crypto.certificates.Certificates
-
Checks if the given certificate has all the necessary extensions to be used
as a signing certificate (non repudiation).
- isPrivateKeyAlias(String) - Method in class org.dihedron.crypto.KeyRing
-
Checks whether the alias has a corresponding private key.
- isSelfSigned(X509Certificate) - Static method in class org.dihedron.crypto.certificates.Certificates
-
Checks whether given X.509 certificate is self-signed.
- isSignatureX509Certificate(X509Certificate) - Static method in class org.dihedron.crypto.certificates.Certificates
-
Checks if the given certificate has all the necessary extensions to be used
as a signing certificate.
- isVerifyCertificate() - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Returns whether the signer should verify the certificate before signing.
- setAlgorithm(SignatureAlgorithm) - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Sets the new value of the algorithm.
- setAlias(String) - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Sets the new value of the signing certificate alias.
- setDialogTitle(String) - Method in class org.dihedron.crypto.ui.PINDialog
-
- setEncapsulateData(boolean) - Method in class org.dihedron.crypto.operations.sign.Signer
-
Sets whether the data should be encapsulated along with the signature,
or the signature is detached.
- setEncapsulateData(boolean) - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Sets whether the signer should encapsulate data along with the signature.
- setKeyRing(KeyRing) - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Sets the new value of the key ring.
- setProvider(Provider) - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Sets the new value of the provider.
- setVerifyCertificate(boolean) - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Sets whether the signer should verify the certificate before signing.
- sign(byte[]) - Method in class org.dihedron.crypto.operations.sign.pdf.PDFSigner
-
- sign(InputStream, OutputStream) - Method in class org.dihedron.crypto.operations.sign.pdf.PDFSigner
-
- sign(byte[]) - Method in class org.dihedron.crypto.operations.sign.pkcs7.PKCS7Signer
-
Signs the given byte array, returning the signed version.
- sign(InputStream, OutputStream) - Method in class org.dihedron.crypto.operations.sign.pkcs7.PKCS7Signer
-
Signs whatever can be read from the given input stream, writing the signed
version into the given output stream.
- sign(byte[]) - Method in class org.dihedron.crypto.operations.sign.Signer
-
Signs the given set of data.
- sign(InputStream, OutputStream) - Method in class org.dihedron.crypto.operations.sign.Signer
-
Signs the given set of data; the caller must make sure both input and
output stream are properly closed once the processing is complete.
- SIGNATURE_CRITICAL_EXTENSION_OID - Static variable in class org.dihedron.crypto.KeyRing
-
The critical extension that signature certificates must have in order to
be recognised as valid for signing.
- SignatureAlgorithm - Enum in org.dihedron.crypto.constants
-
- SignatureFormat - Enum in org.dihedron.crypto.constants
-
Signature types.
- Signer - Class in org.dihedron.crypto.operations.sign
-
This class acts as the base class, providing common functionalities, to all
fashions of signers.
- Signer(String, KeyRing, Provider) - Constructor for class org.dihedron.crypto.operations.sign.Signer
-
Constructor.
- SignerFactory - Class in org.dihedron.crypto.operations.sign
-
Factory class for signers; depending on the requested signature format, it
will create the appropriate signer.
- SignerFactory() - Constructor for class org.dihedron.crypto.operations.sign.SignerFactory
-
- SigningStream - Class in org.dihedron.crypto.operations.sign
-
- SigningStream(OutputStream, SigningStreamConfigurator) - Constructor for class org.dihedron.crypto.operations.sign.SigningStream
-
Constructor.
- SigningStreamConfigurator - Class in org.dihedron.crypto.operations.sign
-
- SigningStreamConfigurator() - Constructor for class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Default constructor.
- SmartCard - Class in org.dihedron.crypto.providers.smartcard.discovery
-
This class represents the smart card information needed to use a given smart
card on a set of supported platforms; the smart card can be identified by
means of its SMARTCARD_ATR (answer to reset) code and is accompanied by a description,
and the name of the manufacturer; each supporting driver (one per platform)
has the name of the PKCS#11 driver library ( a .dll on Windows, a .so on
Linux...) and a series of paths where it should be located.
- SmartCardCallbackHandler - Class in org.dihedron.crypto.providers.smartcard
-
- SmartCardCallbackHandler(String) - Constructor for class org.dihedron.crypto.providers.smartcard.SmartCardCallbackHandler
-
Constructor.
- SmartCardException - Exception in org.dihedron.crypto.exceptions
-
The root of the smart card provider-specific exceptions.
- SmartCardException() - Constructor for exception org.dihedron.crypto.exceptions.SmartCardException
-
Default constructor.
- SmartCardException(String) - Constructor for exception org.dihedron.crypto.exceptions.SmartCardException
-
Constructor.
- SmartCardException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.SmartCardException
-
Constructor.
- SmartCardException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.SmartCardException
-
Constructor.
- SmartCardKeyRing - Class in org.dihedron.crypto.providers.smartcard
-
- SmartCardKeyRing(Provider, String) - Constructor for class org.dihedron.crypto.providers.smartcard.SmartCardKeyRing
-
Constructor.
- SmartCardProvider - Class in org.dihedron.crypto.providers.smartcard
-
- SmartCardProvider(Provider) - Constructor for class org.dihedron.crypto.providers.smartcard.SmartCardProvider
-
Constructor.
- SmartCardProviderFactory - Class in org.dihedron.crypto.providers.smartcard
-
Smart card securoty provider factory class: helps install a security provider
for PKCS#11 providers, once the reader in which the PKCS#11 token is available
has been detected and information about the smart card (in the form of a
SmartCard database entry) has been retrieved.
- SmartCardProviderFactory() - Constructor for class org.dihedron.crypto.providers.smartcard.SmartCardProviderFactory
-
- SMARTCARDS_XSD - Static variable in class org.dihedron.crypto.providers.smartcard.discovery.DataBaseLoader
-
The name of the smart cards database schema.
- SmartCardTraits - Class in org.dihedron.crypto.providers.smartcard
-
The set of characteristics of a smart card based PKCS#11 security provider.
- SmartCardTraits(Reader, SmartCard) - Constructor for class org.dihedron.crypto.providers.smartcard.SmartCardTraits
-
Constructor.
- SmartCardTraits(Reader, SmartCard, boolean) - Constructor for class org.dihedron.crypto.providers.smartcard.SmartCardTraits
-
Constructor.
- valueOf(String) - Static method in enum org.dihedron.crypto.constants.DigestAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.dihedron.crypto.constants.SignatureAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.dihedron.crypto.constants.SignatureFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(Traits) - Static method in class org.dihedron.crypto.Crypto
-
Returns the value of the give trait.
- valueOf(String) - Static method in enum org.dihedron.crypto.operations.EnvelopeFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.dihedron.crypto.operations.sign.pdf.PDFSigner.Mode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.dihedron.crypto.constants.DigestAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.dihedron.crypto.constants.SignatureAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.dihedron.crypto.constants.SignatureFormat
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.dihedron.crypto.operations.EnvelopeFormat
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.dihedron.crypto.operations.sign.pdf.PDFSigner.Mode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Verifier - Class in org.dihedron.crypto.operations.verify
-
This class acts as the base class, providing common functionalities to all
fashions of verifiers.
- Verifier() - Constructor for class org.dihedron.crypto.operations.verify.Verifier
-
- VerifierFactory - Class in org.dihedron.crypto.operations.verify
-
Factory class for verifier; depending on the requested signature format, it
will create the appropriate verifier.
- VerifierFactory() - Constructor for class org.dihedron.crypto.operations.verify.VerifierFactory
-
- verify(byte[]) - Method in class org.dihedron.crypto.operations.verify.pdf.PDFVerifier
-
- verify(byte[], byte[]) - Method in class org.dihedron.crypto.operations.verify.pdf.PDFVerifier
-
- verify(InputStream) - Method in class org.dihedron.crypto.operations.verify.pdf.PDFVerifier
-
- verify(InputStream) - Method in class org.dihedron.crypto.operations.verify.pkcs7.PKCS7Verifier
-
- verify(byte[]) - Method in class org.dihedron.crypto.operations.verify.pkcs7.PKCS7Verifier
-
- verify(byte[], byte[]) - Method in class org.dihedron.crypto.operations.verify.pkcs7.PKCS7Verifier
-
- verify(byte[]) - Method in class org.dihedron.crypto.operations.verify.Verifier
-
Verifies that the signed data in the input array has not been tampered with.
- verify(byte[], byte[]) - Method in class org.dihedron.crypto.operations.verify.Verifier
-
Verifies a detached signature, given the data upon which it was originally
calculated and the detached signature bytes.
- verify(InputStream) - Method in class org.dihedron.crypto.operations.verify.Verifier
-
Verifies the signature of the given set of encapsulated data.
- verifyCertificate(X509Certificate, Collection<X509Certificate>) - Static method in class org.dihedron.crypto.certificates.Certificates
-
Attempts to build a certification chain for given certificate and to
verify it.
- verifyCertificate - Variable in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
-
Whether the signer should verify the certificate before signing.
- verifyCertificateCRLs(X509Certificate) - Static method in class org.dihedron.crypto.crl.CRL
-
Extracts the CRL distribution points from the certificate (if available)
and checks the certificate revocation status against the CRLs coming from
the distribution points.