A B C D E F G H I K L M O P R S T U V W 

A

actionPerformed(ActionEvent) - Method in class org.dihedron.crypto.ui.PINDialog
Reacts to user clicks and events.
addTrustAnchor(Certificate) - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
Adds the given trust anchor certificate to the set that will be used for PKIX certificate verification path buildup.
addTrustAnchors(Collection<X509Certificate>) - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
Adds the given collection of trust anchor certificates to the set that will be used for PKIX certificate verification path buildup.
algorithm - Variable in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
The digest and encryption algorithm combination used to create the signature.
alias - Variable in class org.dihedron.crypto.operations.sign.Signer
The alias identifying the certificate to be used for signing.
alias - Variable in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
The alias identifying the certificate to be used for signing.
ATR - Class in org.dihedron.crypto.providers.smartcard.discovery
Objects of class ATR represent the unique identifier of the smart card make and model; each smart card has its own byte sequence.
ATR(String) - Constructor for class org.dihedron.crypto.providers.smartcard.discovery.ATR
Constructor.
ATR(byte[]) - Constructor for class org.dihedron.crypto.providers.smartcard.discovery.ATR
Constructor.
ATR(byte[], String) - Constructor for class org.dihedron.crypto.providers.smartcard.discovery.ATR
Constructor.
AutoCloseableProvider - Class in org.dihedron.crypto.providers
 
AutoCloseableProvider(Provider) - Constructor for class org.dihedron.crypto.providers.AutoCloseableProvider
Constructor.

B

BASE64 - Static variable in class org.dihedron.crypto.certificates.impl.Base64CertificateLoader
The name of the property holding the BASE64 representation of the certificate.
Base64CertificateLoader - Class in org.dihedron.crypto.certificates.impl
 
Base64CertificateLoader() - Constructor for class org.dihedron.crypto.certificates.impl.Base64CertificateLoader
 

C

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.

D

DataBase - Class in org.dihedron.crypto.providers.smartcard.discovery
The database of supported smart cards, along with their supporting PKCS#11 drivers.
DataBaseLoader - Class in org.dihedron.crypto.providers.smartcard.discovery
The class responsible of loading the database of supported smart cards, along with info about their their supporting PKCS#11 drivers.
DataBaseLoader() - Constructor for class org.dihedron.crypto.providers.smartcard.discovery.DataBaseLoader
 
decrypt(byte[]) - Method in class org.dihedron.crypto.operations.decrypt.Decryptor
Encrypts the given byte array, returning the encrypted bytes.
decrypt(byte[]) - Method in class org.dihedron.crypto.operations.decrypt.pkcs7.Pkcs7Decryptor
 
Decryptor - Class in org.dihedron.crypto.operations.decrypt
Base abstract classes for all classes providing decryption services.
Decryptor() - Constructor for class org.dihedron.crypto.operations.decrypt.Decryptor
 
DEFAULT_ENCAPSULATE_DATA - Static variable in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
Whether by default data should be encapsulated along with the signature.
DEFAULT_MODALITY - Static variable in class org.dihedron.crypto.ui.PINDialog
Whether by default the dialog should be modal.
DEFAULT_SMARTCARDS_XML - Static variable in class org.dihedron.crypto.providers.smartcard.discovery.DataBaseLoader
The name of the file containing the default smart cards database.
DEFAULT_VERIFY_CERTIFICATE - Static variable in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
Whether by default the signing certificate must be verified.
DigestAlgorithm - Enum in org.dihedron.crypto.constants
An enumeration of supported digest algorithms.
Driver - Class in org.dihedron.crypto.providers.smartcard.discovery
A class representing a shared object or dynamic link library supporting a smart card driver on a given platform.

E

encapsulate - Variable in class org.dihedron.crypto.operations.sign.Signer
Whether the signer should encapsulate data along with the signature.
encapsulateData - Variable in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
Whether the signer should encapsulate data along with the signature.
encrypt(byte[]) - Method in class org.dihedron.crypto.operations.encrypt.Encryptor
Encrypts the given byte array, returning the encrypted bytes.
encrypt(byte[], String, String, String, String) - Method in class org.dihedron.crypto.operations.encrypt.EncryptZipFile
 
encrypt(byte[]) - Method in class org.dihedron.crypto.operations.encrypt.pkcs7.Pkcs7Encryptor
 
EncryptionAlgorithm - Enum in org.dihedron.crypto.constants
An enumeration of supported encryption algorithms.
Encryptor - Class in org.dihedron.crypto.operations.encrypt
Base abstract classes for all classes providing encryption services.
Encryptor() - Constructor for class org.dihedron.crypto.operations.encrypt.Encryptor
 
EncryptZipFile - Class in org.dihedron.crypto.operations.encrypt
 
EncryptZipFile() - Constructor for class org.dihedron.crypto.operations.encrypt.EncryptZipFile
 
enumerate() - Static method in class org.dihedron.crypto.providers.smartcard.discovery.Readers
Enumerates all available readers and returns basic information about each of them: their assigned slot, the description and, if a smart card is present, its ATR.
enumerate(Filter<Reader>) - Static method in class org.dihedron.crypto.providers.smartcard.discovery.Readers
Enumerates the available readers, applying a filter to it.
enumerateAliases() - Method in class org.dihedron.crypto.KeyRing
Returns a list of aliases for the given key store.
EnvelopeFormat - Enum in org.dihedron.crypto.operations
The set of available signature formats.
equals(Object) - Method in class org.dihedron.crypto.providers.smartcard.discovery.ATR
Checks if two ATRs are equal; comparison is performed case-insensitively on the String representation with a blank separator.

F

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.

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.

H

handle(Callback[]) - Method in class org.dihedron.crypto.providers.smartcard.SmartCardCallbackHandler
Handles the callback request.
hasCriticalExtension(X509Certificate, String) - Static method in class org.dihedron.crypto.certificates.Certificates
Checks if the given certificate has the given OID among its critical extensions.
hashCode() - Method in class org.dihedron.crypto.providers.smartcard.discovery.ATR
Returns a hash calculated on the upper-cased string representation of the byte sequence.
hasSmartCard() - Method in class org.dihedron.crypto.providers.smartcard.discovery.Reader
Returns whether this smart card reader had a smart card present when this object was created; this information may not be actual and may not reflect the real status of the physical reader if the user inserted or removed the smart card after the creation of this object.

I

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.

K

KeyRing - Class in org.dihedron.crypto
The base abstract class providing an abstract interface to several different kinds of key stores.
KeyRing() - Constructor for class org.dihedron.crypto.KeyRing
 
keyring - Variable in class org.dihedron.crypto.operations.sign.Signer
The key ring (as a wrapper and helper to access the key store).
keyring - Variable in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
The key ring (as a wrapper and helper to access the key store).
keystore - Variable in class org.dihedron.crypto.KeyRing
The actual Java key store object.

L

LDAPCertificateLoader - Class in org.dihedron.crypto.certificates.impl
 
LDAPCertificateLoader(String, int) - Constructor for class org.dihedron.crypto.certificates.impl.LDAPCertificateLoader
 
LDAPCertificateLoader(String) - Constructor for class org.dihedron.crypto.certificates.impl.LDAPCertificateLoader
 
load() - Static method in class org.dihedron.crypto.providers.smartcard.discovery.DataBaseLoader
Loads the default smart cards database from the default XML on the class path.
load(String) - Static method in class org.dihedron.crypto.providers.smartcard.discovery.DataBaseLoader
Loads the smart card database from the URL represented by the given specification.
load(URL) - Static method in class org.dihedron.crypto.providers.smartcard.discovery.DataBaseLoader
Loads a database trying to open the stream from the given URL.
load(InputStream) - Static method in class org.dihedron.crypto.providers.smartcard.discovery.DataBaseLoader
Initialises the database by parsing the XML file passed in as an input stream.
load() - Static method in class org.dihedron.crypto.providers.smartcard.PCSC
Loads the PC/SC library on systems where it is not available by default: on linux (and probably MacOS X) we need to discover and load into the JVM an implementation of the PC/SC protocol, which is not part of the base operating system set of functionalities and libraries and is therefore not available to the JVM under the ordinary LD_LIBRARY_PATH.
loadCertificate(Properties) - Method in interface org.dihedron.crypto.certificates.CertificateLoader
 
loadCertificate(String) - Method in class org.dihedron.crypto.certificates.impl.Base64CertificateLoader
 
loadCertificate(Properties) - Method in class org.dihedron.crypto.certificates.impl.Base64CertificateLoader
 
loadCertificate(String) - Method in class org.dihedron.crypto.certificates.impl.FileCertificateLoader
 
loadCertificate(Properties) - Method in class org.dihedron.crypto.certificates.impl.FileCertificateLoader
 
loadCertificate(String, String) - Method in class org.dihedron.crypto.certificates.impl.LDAPCertificateLoader
 
loadCertificate(Properties) - Method in class org.dihedron.crypto.certificates.impl.LDAPCertificateLoader
 
loadCertificateData(Properties) - Method in interface org.dihedron.crypto.certificates.CertificateLoader
 
loadCertificateData(String) - Method in class org.dihedron.crypto.certificates.impl.Base64CertificateLoader
 
loadCertificateData(Properties) - Method in class org.dihedron.crypto.certificates.impl.Base64CertificateLoader
 
loadCertificateData(String) - Method in class org.dihedron.crypto.certificates.impl.FileCertificateLoader
 
loadCertificateData(Properties) - Method in class org.dihedron.crypto.certificates.impl.FileCertificateLoader
 
loadCertificateData(String, String) - Method in class org.dihedron.crypto.certificates.impl.LDAPCertificateLoader
 
loadCertificateData(Properties) - Method in class org.dihedron.crypto.certificates.impl.LDAPCertificateLoader
 
LockedPinException - Exception in org.dihedron.crypto.exceptions
 
LockedPinException() - Constructor for exception org.dihedron.crypto.exceptions.LockedPinException
Constructor.
LockedPinException(String) - Constructor for exception org.dihedron.crypto.exceptions.LockedPinException
Constructor.
LockedPinException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.LockedPinException
Constructor.
LockedPinException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.LockedPinException
Constructor.

M

main(String[]) - Static method in class org.dihedron.crypto.operations.decrypt.pkcs7.Pkcs7Decryptor
 
makeCertificateLoader(String) - Static method in class org.dihedron.crypto.certificates.CertificateLoaderFactory
Creates a new CertificateLoader loading its property set from the given file.
makeCertificateLoader(Properties) - Static method in class org.dihedron.crypto.certificates.CertificateLoaderFactory
Creates a new CertificateLoader using the given property set.
makeCertificateStore(Certificate) - Static method in class org.dihedron.crypto.certificates.Certificates
 
makeESSCertIdV1(X509Certificate, IssuerSerial, DigestAlgorithm) - Static method in class org.dihedron.crypto.certificates.Certificates
 
makeESSCertIdV2(X509Certificate, IssuerSerial, DigestAlgorithm) - Static method in class org.dihedron.crypto.certificates.Certificates
 
makeIssuerSerial(X509Certificate) - Static method in class org.dihedron.crypto.certificates.Certificates
Creates an IssuerSerial object for the given certificate.
makeSigner(EnvelopeFormat, String, KeyRing, Provider, SignatureAlgorithm) - Static method in class org.dihedron.crypto.operations.sign.SignerFactory
Creates a signer of the given type, initialising it with the given algorithm information and the given key store to access the private key.
makeVerifier(EnvelopeFormat) - Static method in class org.dihedron.crypto.operations.verify.VerifierFactory
Creates a verifier of the given type.
MicrosoftKeyRing - Class in org.dihedron.crypto.providers.mscapi
 
MicrosoftKeyRing(String) - Constructor for class org.dihedron.crypto.providers.mscapi.MicrosoftKeyRing
Constructor.
MicrosoftProvider - Class in org.dihedron.crypto.providers.mscapi
 
MicrosoftProvider() - Constructor for class org.dihedron.crypto.providers.mscapi.MicrosoftProvider
 
MicrosoftTraits - Class in org.dihedron.crypto.providers.mscapi
The set of characteristics of a Microsoft CryptoAPI-based security provider.
MicrosoftTraits() - Constructor for class org.dihedron.crypto.providers.mscapi.MicrosoftTraits
 
MSCAPI_PERSONAL_KEYSTORE - Static variable in class org.dihedron.crypto.providers.mscapi.MicrosoftKeyRing
The name of the key store used by Microsoft CryptoAPI to propagate certificates from the smart card.

O

org.dihedron.crypto - package org.dihedron.crypto
 
org.dihedron.crypto.certificates - package org.dihedron.crypto.certificates
 
org.dihedron.crypto.certificates.impl - package org.dihedron.crypto.certificates.impl
 
org.dihedron.crypto.constants - package org.dihedron.crypto.constants
The package containing the definition of common constants.
org.dihedron.crypto.crl - package org.dihedron.crypto.crl
 
org.dihedron.crypto.exceptions - package org.dihedron.crypto.exceptions
 
org.dihedron.crypto.operations - package org.dihedron.crypto.operations
 
org.dihedron.crypto.operations.decrypt - package org.dihedron.crypto.operations.decrypt
The package containing classes supporting decryption.
org.dihedron.crypto.operations.decrypt.pkcs7 - package org.dihedron.crypto.operations.decrypt.pkcs7
The package containing the classes providing encryption in PKCS#7/CMS format.
org.dihedron.crypto.operations.encrypt - package org.dihedron.crypto.operations.encrypt
The package containing classes supporting PKCS#7 encryption.
org.dihedron.crypto.operations.encrypt.pkcs7 - package org.dihedron.crypto.operations.encrypt.pkcs7
The package containing the classes providing encryption in PKCS#7/CMS format.
org.dihedron.crypto.operations.sign - package org.dihedron.crypto.operations.sign
 
org.dihedron.crypto.operations.sign.pdf - package org.dihedron.crypto.operations.sign.pdf
 
org.dihedron.crypto.operations.sign.pkcs7 - package org.dihedron.crypto.operations.sign.pkcs7
The package containing the implementation of the CMS/PKCS#7 signer.
org.dihedron.crypto.operations.verify - package org.dihedron.crypto.operations.verify
 
org.dihedron.crypto.operations.verify.pdf - package org.dihedron.crypto.operations.verify.pdf
 
org.dihedron.crypto.operations.verify.pkcs7 - package org.dihedron.crypto.operations.verify.pkcs7
 
org.dihedron.crypto.providers - package org.dihedron.crypto.providers
 
org.dihedron.crypto.providers.mscapi - package org.dihedron.crypto.providers.mscapi
 
org.dihedron.crypto.providers.pkcs12 - package org.dihedron.crypto.providers.pkcs12
 
org.dihedron.crypto.providers.smartcard - package org.dihedron.crypto.providers.smartcard
 
org.dihedron.crypto.providers.smartcard.discovery - package org.dihedron.crypto.providers.smartcard.discovery
The package containing classes to support the creation of smart cards-based, PKCS#11 security providers.
org.dihedron.crypto.ui - package org.dihedron.crypto.ui
 

P

PCSC - Class in org.dihedron.crypto.providers.smartcard
A class providing support for PC/SC initialisation; this is particularly important on UNIX/Linux systems, where PC/SC is emulated via a library that is not part of the ordinary set of system libraries and must therefore be found and loaded into the JVM; this is what this utility class does.
PDFSigner - Class in org.dihedron.crypto.operations.sign.pdf
 
PDFSigner(String, KeyRing, Provider) - Constructor for class org.dihedron.crypto.operations.sign.pdf.PDFSigner
 
PDFSigner(String, KeyRing, Provider, PDFSigner.Mode) - Constructor for class org.dihedron.crypto.operations.sign.pdf.PDFSigner
Constructor.
PDFSigner.Mode - Enum in org.dihedron.crypto.operations.sign.pdf
 
PDFVerifier - Class in org.dihedron.crypto.operations.verify.pdf
 
PDFVerifier(String, KeyRing, Provider) - Constructor for class org.dihedron.crypto.operations.verify.pdf.PDFVerifier
Constructor.
PINDialog - Class in org.dihedron.crypto.ui
 
PINDialog() - Constructor for class org.dihedron.crypto.ui.PINDialog
Default constructor, creates a modal dialog with no owner.
PINDialog(Frame) - Constructor for class org.dihedron.crypto.ui.PINDialog
Constructor, creates a modal dialog with the given owner.
PINDialog(boolean) - Constructor for class org.dihedron.crypto.ui.PINDialog
Constructor, creates a dialog with no owner.
PINDialog(Frame, boolean) - Constructor for class org.dihedron.crypto.ui.PINDialog
Constructor.
PINDialog(String, String) - Constructor for class org.dihedron.crypto.ui.PINDialog
Constructor.
PINDialog(Frame, boolean, String) - Constructor for class org.dihedron.crypto.ui.PINDialog
Constructor.
PINDialog(Frame, boolean, String, String) - Constructor for class org.dihedron.crypto.ui.PINDialog
Constructor.
PKCS12KeyRing - Class in org.dihedron.crypto.providers.pkcs12
 
PKCS12KeyRing(String, String) - Constructor for class org.dihedron.crypto.providers.pkcs12.PKCS12KeyRing
Constructor.
PKCS12KeyRing(File, String) - Constructor for class org.dihedron.crypto.providers.pkcs12.PKCS12KeyRing
Constructor.
PKCS12Provider - Class in org.dihedron.crypto.providers.pkcs12
 
PKCS12Provider() - Constructor for class org.dihedron.crypto.providers.pkcs12.PKCS12Provider
 
PKCS12Traits - Class in org.dihedron.crypto.providers.pkcs12
The set of characteristics of a JCE built-in provider.
PKCS12Traits() - Constructor for class org.dihedron.crypto.providers.pkcs12.PKCS12Traits
 
PKCS7AttributeTableGenerator - Class in org.dihedron.crypto.operations.sign.pkcs7
 
PKCS7AttributeTableGenerator(DigestAlgorithm, X509Certificate) - Constructor for class org.dihedron.crypto.operations.sign.pkcs7.PKCS7AttributeTableGenerator
 
Pkcs7Decryptor - Class in org.dihedron.crypto.operations.decrypt.pkcs7
 
Pkcs7Decryptor() - Constructor for class org.dihedron.crypto.operations.decrypt.pkcs7.Pkcs7Decryptor
 
Pkcs7Encryptor - Class in org.dihedron.crypto.operations.encrypt.pkcs7
 
Pkcs7Encryptor() - Constructor for class org.dihedron.crypto.operations.encrypt.pkcs7.Pkcs7Encryptor
 
PKCS7Signer - Class in org.dihedron.crypto.operations.sign.pkcs7
 
PKCS7Signer(String, KeyRing, Provider, SignatureAlgorithm) - Constructor for class org.dihedron.crypto.operations.sign.pkcs7.PKCS7Signer
Constructor.
PKCS7Signer(String, KeyRing, Provider, String, String) - Constructor for class org.dihedron.crypto.operations.sign.pkcs7.PKCS7Signer
Constructor.
PKCS7SigningStream - Class in org.dihedron.crypto.operations.sign.pkcs7
 
PKCS7SigningStream(OutputStream, SigningStreamConfigurator) - Constructor for class org.dihedron.crypto.operations.sign.pkcs7.PKCS7SigningStream
Constructor.
PKCS7Verifier - Class in org.dihedron.crypto.operations.verify.pkcs7
 
PKCS7Verifier() - Constructor for class org.dihedron.crypto.operations.verify.pkcs7.PKCS7Verifier
 
provider - Variable in class org.dihedron.crypto.operations.sign.Signer
The security provider.
provider - Variable in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
The security provider.
provider - Variable in class org.dihedron.crypto.providers.AutoCloseableProvider
The wrapped provider; it will be automatically uninstalled when out of the "try-with-resources" block.
ProviderException - Exception in org.dihedron.crypto.exceptions
The root of the exception hierarchy in the Crypto library.
ProviderException() - Constructor for exception org.dihedron.crypto.exceptions.ProviderException
Default constructor.
ProviderException(String) - Constructor for exception org.dihedron.crypto.exceptions.ProviderException
Constructor.
ProviderException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.ProviderException
Constructor.
ProviderException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.ProviderException
Constructor.
ProviderFactory<T extends ProviderTraits> - Class in org.dihedron.crypto.providers
Base class for all security provider factory objects.
ProviderFactory() - Constructor for class org.dihedron.crypto.providers.ProviderFactory
 
ProviderTraits - Interface in org.dihedron.crypto.providers
Marker interface; all security provider configuration objects must implement this interface.

R

Reader - Class in org.dihedron.crypto.providers.smartcard.discovery
 
Readers - Class in org.dihedron.crypto.providers.smartcard.discovery
 

S

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.

T

toBouncyCastleCode() - Method in enum org.dihedron.crypto.constants.SignatureAlgorithm
Provides a string representation of the signature algorithm in the format used by BouncyCastle to identify it, e.g.
toString() - Method in enum org.dihedron.crypto.constants.DigestAlgorithm
Formats the object as a string.
toString() - Method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
Formats the object as a string.
toString() - Method in enum org.dihedron.crypto.constants.SignatureAlgorithm
Returns the algorithm string representation, such as "SHA256withRSA".
toString() - Method in enum org.dihedron.crypto.constants.SignatureFormat
Returns the format as a descriptive string.
toString() - Method in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
 
toString() - Method in class org.dihedron.crypto.providers.smartcard.discovery.ATR
Returns a String representation of the ATR.
toString() - Method in class org.dihedron.crypto.providers.smartcard.discovery.DataBase
Returns a pretty printed, complex representation of the object as a string.
toString() - Method in class org.dihedron.crypto.providers.smartcard.discovery.Driver
 
toString() - Method in class org.dihedron.crypto.providers.smartcard.discovery.Reader
Returns a JSON-like representation of the reader's internal status.
toString() - Method in class org.dihedron.crypto.providers.smartcard.discovery.SmartCard
 
TrustAnchors - Class in org.dihedron.crypto.certificates
 
trustAnchors - Variable in class org.dihedron.crypto.operations.sign.SigningStreamConfigurator
A collection of certificates to be used as trust anchors in PKIX certification path buildup and verification.

U

UnavailableDriverException - Exception in org.dihedron.crypto.exceptions
 
UnavailableDriverException() - Constructor for exception org.dihedron.crypto.exceptions.UnavailableDriverException
Constructor.
UnavailableDriverException(String) - Constructor for exception org.dihedron.crypto.exceptions.UnavailableDriverException
Constructor.
UnavailableDriverException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.UnavailableDriverException
Constructor.
UnavailableDriverException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.UnavailableDriverException
Constructor.
UnsupportedFormatException - Exception in org.dihedron.crypto.exceptions
 
UnsupportedFormatException() - Constructor for exception org.dihedron.crypto.exceptions.UnsupportedFormatException
Constructor.
UnsupportedFormatException(String) - Constructor for exception org.dihedron.crypto.exceptions.UnsupportedFormatException
Constructor.
UnsupportedFormatException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.UnsupportedFormatException
Constructor.
UnsupportedFormatException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.UnsupportedFormatException
Constructor.

V

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.

W

write(int) - Method in class org.dihedron.crypto.operations.sign.pkcs7.PKCS7SigningStream
Writes the specified byte to this output stream.
write(byte[]) - Method in class org.dihedron.crypto.operations.sign.pkcs7.PKCS7SigningStream
Writes bytes.length bytes to this output stream.
write(byte[], int, int) - Method in class org.dihedron.crypto.operations.sign.pkcs7.PKCS7SigningStream
Writes length bytes from the specified byte array starting at the given offset to this output stream.
writeToFile(Certificate, String) - Static method in class org.dihedron.crypto.certificates.Certificates
 
A B C D E F G H I K L M O P R S T U V W 

Copyright © 2012-2014 Andrea Funtò. See here for terms and conditions.