Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractKeyConverter - Class in com.github.toolarium.security.pki.impl
-
This key converter base class
- AbstractKeyConverter(String, String, int) - Constructor for class com.github.toolarium.security.pki.impl.AbstractKeyConverter
-
Constructor for AbstractKeyConverter
- AbstractModulo<T> - Class in com.github.toolarium.security.checkdigit
-
Implements the base class of modulo calculation
- AbstractModulo() - Constructor for class com.github.toolarium.security.checkdigit.AbstractModulo
- addCertificateToKeystore(KeyStore, String, X509Certificate[]) - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Add a certificate chain to the keystore
- addCertificateToTrustKeystore(String, X509Certificate) - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Add a certificate to the default trust keystore
- addCertificateToTrustKeystore(String, X509Certificate[]) - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Add a certificate chain to the default trust keystore
- addTrustedCertificate(X509Certificate) - Method in class com.github.toolarium.security.keystore.impl.ToolariumTrustManager
-
Adds a trusted certificate
- ALGORITHM_AES - Static variable in class com.github.toolarium.security.test.JavaSecurityTester
-
Represents the AES algorithm as string
- ALGORITHM_AES - Static variable in class com.github.toolarium.security.util.CryptUtil
-
Represents the AES algorithm as string
- available() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Returns the number of bytes available for reading.
B
- BigInt - Class in com.github.toolarium.security.pki.impl.rsa.data
-
A low-overhead arbitrary-precision unsigned integer.
- BigInt(byte[]) - Constructor for class com.github.toolarium.security.pki.impl.rsa.data.BigInt
-
Constructs a "Big" integer from a set of (big-endian) bytes.
- BigInt(int) - Constructor for class com.github.toolarium.security.pki.impl.rsa.data.BigInt
-
Constructs a "Big" integer from a normal Java integer.
- BigInt(BigInteger) - Constructor for class com.github.toolarium.security.pki.impl.rsa.data.BigInt
-
Constructs a "Big" integer from a "BigInteger", which must be positive (or zero) in value.
- BitArray - Class in com.github.toolarium.security.pki.impl.rsa.data
-
A packed array of booleans.
- BitArray(boolean[]) - Constructor for class com.github.toolarium.security.pki.impl.rsa.data.BitArray
-
Create a BitArray whose bits are those of the given array of Booleans.
- BitArray(int) - Constructor for class com.github.toolarium.security.pki.impl.rsa.data.BitArray
-
Creates a BitArray of the specified size, initialized to zeros.
- BitArray(int, byte[]) - Constructor for class com.github.toolarium.security.pki.impl.rsa.data.BitArray
-
Creates a BitArray of the specified size, initialized from the specified byte array.
- BUILD_TIMESTAMP - Static variable in class com.github.toolarium.security.Version
-
The build timestamp
- buildChainFor(KeyPair, Collection<X509Certificate>) - Method in interface com.github.toolarium.security.certificate.ICertificateChainAnalyzer
-
Build chain for
- buildChainFor(KeyPair, Collection<X509Certificate>) - Method in class com.github.toolarium.security.certificate.impl.CertificateChainAnalyzer
- buildChainFor(PublicKey, Collection<X509Certificate>) - Method in interface com.github.toolarium.security.certificate.ICertificateChainAnalyzer
-
Build chain for
- buildChainFor(PublicKey, Collection<X509Certificate>) - Method in class com.github.toolarium.security.certificate.impl.CertificateChainAnalyzer
- ByteArrayLexOrder - Class in com.github.toolarium.security.pki.impl.rsa.comporator
-
Compare two byte arrays in lexicographical order.
- ByteArrayLexOrder() - Constructor for class com.github.toolarium.security.pki.impl.rsa.comporator.ByteArrayLexOrder
- ByteArrayTagOrder - Class in com.github.toolarium.security.pki.impl.rsa.comporator
-
ByteArrayTagOrder: a class for comparing two DER encodings by the order of their tags.
- ByteArrayTagOrder() - Constructor for class com.github.toolarium.security.pki.impl.rsa.comporator.ByteArrayTagOrder
C
- calculateModulo(String) - Method in class com.github.toolarium.security.checkdigit.AbstractModulo
-
Calculate the modulo of the given string .
- calculateSum(Integer[]) - Method in class com.github.toolarium.security.checkdigit.AbstractModulo
-
Calculate the modulo sum
- calculateSum(Integer[]) - Method in class com.github.toolarium.security.checkdigit.Modulo10
- calculateSum(Integer[]) - Method in class com.github.toolarium.security.checkdigit.Modulo11
- CertificateChainAnalyzer - Class in com.github.toolarium.security.certificate.impl
-
Implements the
ICertificateChainAnalyzer. - CertificateChainAnalyzer() - Constructor for class com.github.toolarium.security.certificate.impl.CertificateChainAnalyzer
- CertificateConverter - Class in com.github.toolarium.security.certificate.impl
-
Implements the
ICertificateConverter. - CertificateConverter() - Constructor for class com.github.toolarium.security.certificate.impl.CertificateConverter
- CertificateFilter - Class in com.github.toolarium.security.certificate.impl
-
Implements the
ICertificateFilter. - CertificateFilter() - Constructor for class com.github.toolarium.security.certificate.impl.CertificateFilter
- CertificateGenerator - Class in com.github.toolarium.security.certificate.impl
-
X509 certificate generator.
- CertificateGenerator() - Constructor for class com.github.toolarium.security.certificate.impl.CertificateGenerator
- CertificateStore - Class in com.github.toolarium.security.certificate.dto
-
Defines the certificate store
- CertificateStore(String, String, ISecuredValue<String>) - Constructor for class com.github.toolarium.security.certificate.dto.CertificateStore
-
Constructor for CertificateStore
- CertificateStore(String, String, String) - Constructor for class com.github.toolarium.security.certificate.dto.CertificateStore
-
Constructor for CertificateStore
- CertificateStore(KeyPair, X509Certificate...) - Constructor for class com.github.toolarium.security.certificate.dto.CertificateStore
-
Constructor for CertificateStore
- CertificateTestUtil - Class in com.github.toolarium.security.certificate.util
-
Certificate test util.
- CertificateUtilFactory - Class in com.github.toolarium.security.certificate
-
Defines the certificate converter factory.
- CertificateVerifier - Class in com.github.toolarium.security.certificate.impl
-
Implements the
ICertificateVerifier - CertificateVerifier() - Constructor for class com.github.toolarium.security.certificate.impl.CertificateVerifier
- ChallengeResponseUtil - Class in com.github.toolarium.security.signature
-
This class implements method which can be used for a challenge/response protocol.
- checkCACertificate(X509Certificate) - Method in class com.github.toolarium.security.keystore.impl.ToolariumTrustManager
-
Checks the CA certificate
- checkCertificate(X509Certificate) - Method in class com.github.toolarium.security.keystore.impl.ToolariumTrustManager
-
Checks the certificate
- checkCertificateChain(X509Certificate[]) - Method in class com.github.toolarium.security.keystore.impl.ToolariumTrustManager
-
Checks the certificate chain
- checkClientTrusted(X509Certificate[], String) - Method in class com.github.toolarium.security.keystore.impl.ToolariumTrustManager
- checkEncoding() - Method in class com.github.toolarium.security.pki.impl.rsa.RSAPrivateKeyPKCS8
-
Check the encoding
- checkResponse(String, String, PublicKey, byte[], byte[]) - Method in class com.github.toolarium.security.signature.ChallengeResponseUtil
-
Checks the response given against the challenge verified with the certificate's public key
- checkResponse(String, PublicKey, byte[], byte[]) - Method in class com.github.toolarium.security.signature.ChallengeResponseUtil
-
Checks the response given against the challenge verified with the certificate's public key
- checkServerTrusted(X509Certificate[], String) - Method in class com.github.toolarium.security.keystore.impl.ToolariumTrustManager
- chooseClientAlias(String[], Principal[], Socket) - Method in class com.github.toolarium.security.keystore.impl.ToolariumKeyManager
- chooseServerAlias(String, Principal[], Socket) - Method in class com.github.toolarium.security.keystore.impl.ToolariumKeyManager
- clone() - Method in class com.github.toolarium.security.pki.impl.rsa.data.BitArray
- com.github.toolarium.security - package com.github.toolarium.security
- com.github.toolarium.security.certificate - package com.github.toolarium.security.certificate
- com.github.toolarium.security.certificate.dto - package com.github.toolarium.security.certificate.dto
- com.github.toolarium.security.certificate.impl - package com.github.toolarium.security.certificate.impl
- com.github.toolarium.security.certificate.util - package com.github.toolarium.security.certificate.util
- com.github.toolarium.security.checkdigit - package com.github.toolarium.security.checkdigit
- com.github.toolarium.security.hash - package com.github.toolarium.security.hash
- com.github.toolarium.security.keystore - package com.github.toolarium.security.keystore
- com.github.toolarium.security.keystore.dto - package com.github.toolarium.security.keystore.dto
- com.github.toolarium.security.keystore.impl - package com.github.toolarium.security.keystore.impl
- com.github.toolarium.security.keystore.util - package com.github.toolarium.security.keystore.util
- com.github.toolarium.security.pki - package com.github.toolarium.security.pki
- com.github.toolarium.security.pki.impl - package com.github.toolarium.security.pki.impl
- com.github.toolarium.security.pki.impl.rsa - package com.github.toolarium.security.pki.impl.rsa
- com.github.toolarium.security.pki.impl.rsa.comporator - package com.github.toolarium.security.pki.impl.rsa.comporator
- com.github.toolarium.security.pki.impl.rsa.data - package com.github.toolarium.security.pki.impl.rsa.data
- com.github.toolarium.security.pki.impl.rsa.der - package com.github.toolarium.security.pki.impl.rsa.der
- com.github.toolarium.security.pki.util - package com.github.toolarium.security.pki.util
- com.github.toolarium.security.signature - package com.github.toolarium.security.signature
- com.github.toolarium.security.ssl - package com.github.toolarium.security.ssl
- com.github.toolarium.security.ssl.util - package com.github.toolarium.security.ssl.util
- com.github.toolarium.security.test - package com.github.toolarium.security.test
- com.github.toolarium.security.util - package com.github.toolarium.security.util
- combineCertificates(X509Certificate[], X509Certificate[]) - Method in interface com.github.toolarium.security.certificate.ICertificateConverter
-
Combine two certificate arrays
- combineCertificates(X509Certificate[], X509Certificate[]) - Method in class com.github.toolarium.security.certificate.impl.CertificateConverter
- combineCertificates(X509Certificate[], X509Certificate[]) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- compare(byte[], byte[]) - Method in class com.github.toolarium.security.pki.impl.rsa.comporator.ByteArrayLexOrder
-
Perform lexicographical comparison of two byte arrays, regarding each byte as unsigned.
- compare(byte[], byte[]) - Method in class com.github.toolarium.security.pki.impl.rsa.comporator.ByteArrayTagOrder
-
Compare two byte arrays, by the order of their tags, as defined in ITU-T X.680, sec.
- COMPONENT_ID - Static variable in class com.github.toolarium.security.Version
-
The component id
- convert(byte[]) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERIndefLenConverter
-
Converts a indefinite length DER encoded byte array to a definte length DER encoding.
- createCertificate(KeyPair, String, int, int) - Method in class com.github.toolarium.security.certificate.util.CertificateTestUtil
-
Create a certificate
- createCheckDigit(String) - Method in interface com.github.toolarium.security.checkdigit.IModulo
-
Calculate the modulo of the given string.
- createCheckDigit(String) - Method in class com.github.toolarium.security.checkdigit.Modulo10
-
Calculate the modulo 10 of the given string which contains numbers e.g.
- createCheckDigit(String) - Method in class com.github.toolarium.security.checkdigit.Modulo11
-
Calculate the modulo 11 of the given string which contains numbers e.g.
- createCreateCertificate(CertificateStore, String, String, Date, int) - Method in interface com.github.toolarium.security.certificate.ICertificateGenerator
-
Creates a certificate
- createCreateCertificate(CertificateStore, String, String, Date, int) - Method in class com.github.toolarium.security.certificate.impl.CertificateGenerator
- createCreateCertificate(String) - Method in interface com.github.toolarium.security.certificate.ICertificateGenerator
-
Creates a self-signed certificate
- createCreateCertificate(String) - Method in class com.github.toolarium.security.certificate.impl.CertificateGenerator
- createCreateCertificate(String, String, int) - Method in interface com.github.toolarium.security.certificate.ICertificateGenerator
-
Creates a certificate
- createCreateCertificate(String, String, int) - Method in class com.github.toolarium.security.certificate.impl.CertificateGenerator
- createCreateCertificate(KeyPair, CertificateStore, String, String, Date, int) - Method in interface com.github.toolarium.security.certificate.ICertificateGenerator
-
Creates a certificate
- createCreateCertificate(KeyPair, CertificateStore, String, String, Date, int) - Method in class com.github.toolarium.security.certificate.impl.CertificateGenerator
- createCreateCertificate(KeyPair, String, String, Date, int) - Method in interface com.github.toolarium.security.certificate.ICertificateGenerator
-
Creates a certificate
- createCreateCertificate(KeyPair, String, String, Date, int) - Method in class com.github.toolarium.security.certificate.impl.CertificateGenerator
- createHash(String, byte[]) - Method in class com.github.toolarium.security.hash.CryptoHashUtil
-
Creates an message digest of the given algorithm for the given input.
- createHash(String, String, byte[]) - Method in class com.github.toolarium.security.hash.CryptoHashUtil
-
Creates an message digest of the given algorithm for the given input
- createHashId() - Static method in class com.github.toolarium.security.hash.HashId
-
Create a hash id class
- createHashId(String) - Static method in class com.github.toolarium.security.hash.HashId
-
Create a hash id class
- createHashId(String, int) - Static method in class com.github.toolarium.security.hash.HashId
-
Create a hash id class
- createHashId(String, int, String) - Static method in class com.github.toolarium.security.hash.HashId
-
Create a hash id class
- createHashWithKey(String, byte[], byte[]) - Method in class com.github.toolarium.security.hash.CryptoHashUtil
-
Creates an message digest of the given algorithm for the given input
- createKeyManager(KeyStore, ISecuredValue<String>) - Method in class com.github.toolarium.security.keystore.impl.SecurityManagerProviderImpl
-
Create a
KeyManagerfor the given key store - createKeyStore(String) - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Create a new keystore
- createKeyStore(String, String) - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Create a new keystore
- createPKCS12KeyStore(String, String, PrivateKey, Certificate[], ISecuredValue<String>) - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Create a PKCS12 key store
- createSecretKeySpec(byte[], String) - Method in class com.github.toolarium.security.util.CryptUtil
-
Create a SecretKeySpec
- createSecretKeySpec(String) - Method in class com.github.toolarium.security.util.CryptUtil
-
Create a SecretKeySpec
- createSelfSignedCertificates() - Method in class com.github.toolarium.security.certificate.util.CertificateTestUtil
-
Create self-signed certificate list:
- createSelfSignedCertificates(KeyPair) - Method in class com.github.toolarium.security.certificate.util.CertificateTestUtil
-
Create self-signed certificate list:
- createSslContext(ISecurityManagerProvider) - Method in class com.github.toolarium.security.ssl.SSLContextFactory
-
Create an SSL context
- createTag(byte, boolean, byte) - Static method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Create the tag of the attribute.
- createTrustManagers(KeyStore) - Method in class com.github.toolarium.security.keystore.impl.SecurityManagerProviderImpl
-
Create a
TrustManagerfor the given key store. - CryptoHashUtil - Class in com.github.toolarium.security.hash
-
This util class provides a fassade to the cryptographic hash functions of the java API.
- CryptUtil - Class in com.github.toolarium.security.util
-
This is a simple util class for initialisation or checks.
D
- decrypt(String) - Method in class com.github.toolarium.security.hash.HashId
-
Decrypt
- derEncode(OutputStream) - Method in interface com.github.toolarium.security.pki.impl.rsa.der.DEREncoder
-
DER encode this object and write the results to a stream.
- derEncode(OutputStream) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Write the current contents of this
DerOutputStreamto anOutputStream. - DEREncoder - Interface in com.github.toolarium.security.pki.impl.rsa.der
-
Interface to an object that knows how to write its own DER encoding to an output stream.
- DERIndefLenConverter - Class in com.github.toolarium.security.pki.impl.rsa.der
-
A package private utility class to convert indefinite length DER encoded byte arrays to definite length DER encoded byte arrays.
- DERIndefLenConverter() - Constructor for class com.github.toolarium.security.pki.impl.rsa.der.DERIndefLenConverter
-
Default package private constructor
- DERInputBuffer - Class in com.github.toolarium.security.pki.impl.rsa.der
-
DER input buffer ...
- DERInputBuffer(byte[]) - Constructor for class com.github.toolarium.security.pki.impl.rsa.der.DERInputBuffer
-
Constructor for DerInputBuffer
- DERInputStream - Class in com.github.toolarium.security.pki.impl.rsa.der
-
A DER input stream, used for parsing ASN.1 DER-encoded data such as that found in X.509 certificates.
- DERInputStream(byte[]) - Constructor for class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Create a DER input stream from a data buffer.
- DERInputStream(byte[], int, int) - Constructor for class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Create a DER input stream from part of a data buffer.
- DERInputStream(DERInputBuffer) - Constructor for class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Constructor for DERInputStream
- DEROutputStream - Class in com.github.toolarium.security.pki.impl.rsa.der
-
Output stream marshaling DER-encoded data.
- DEROutputStream() - Constructor for class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Construct an DER output stream.
- DEROutputStream(int) - Constructor for class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Construct an DER output stream.
- DERValue - Class in com.github.toolarium.security.pki.impl.rsa.der
-
Represents a single DER-encoded value.
- DERValue(byte, byte[]) - Constructor for class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Creates a DERValue from a tag and some DER-encoded data.
- DERValue(InputStream) - Constructor for class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Get an ASN1/DER encoded datum from an input stream.
- DERValue(String) - Constructor for class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Creates a PrintableString DER value from a string
- DESCRIPTION - Static variable in class com.github.toolarium.security.Version
-
The description
- DSA - Enum constant in enum class com.github.toolarium.security.pki.KeyConverterFactory.Types
- DSAKeyConverter - Class in com.github.toolarium.security.pki.impl
-
Implements the DSA
IKeyConverter. - DSAKeyConverter() - Constructor for class com.github.toolarium.security.pki.impl.DSAKeyConverter
-
Constructor for DSAConverter
- DSAKeyConverter(String) - Constructor for class com.github.toolarium.security.pki.impl.DSAKeyConverter
-
Constructor for DSAConverter
- dup() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputBuffer
-
Duplicate
E
- EC - Enum constant in enum class com.github.toolarium.security.pki.KeyConverterFactory.Types
- ECKeyConverter - Class in com.github.toolarium.security.pki.impl
-
Implements the EC
IKeyConverter. - ECKeyConverter() - Constructor for class com.github.toolarium.security.pki.impl.ECKeyConverter
-
Constructor for ECConverter
- ECKeyConverter(String) - Constructor for class com.github.toolarium.security.pki.impl.ECKeyConverter
-
Constructor for ECConverter
- encode(DEROutputStream) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Encode an ASN1/DER encoded datum onto a DER output stream.
- encrypt(long...) - Method in class com.github.toolarium.security.hash.HashId
-
Encrypt
- equals(BigInt) - Method in class com.github.toolarium.security.pki.impl.rsa.data.BigInt
-
Returns true iff the parameter is numerically equivalent.
- equals(DERValue) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Bitwise equality comparison.
- equals(ObjectIdentifier) - Method in class com.github.toolarium.security.pki.impl.rsa.der.ObjectIdentifier
-
Compares this identifier with another, for equality.
- equals(Object) - Method in class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
- equals(Object) - Method in class com.github.toolarium.security.pki.impl.rsa.data.BigInt
- equals(Object) - Method in class com.github.toolarium.security.pki.impl.rsa.data.BitArray
- equals(Object) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputBuffer
- equals(Object) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
- equals(Object) - Method in class com.github.toolarium.security.pki.impl.rsa.der.ObjectIdentifier
F
- FileUtil - Class in com.github.toolarium.security.util
-
File Util class
- filterExpired(List<X509Certificate>) - Method in interface com.github.toolarium.security.certificate.ICertificateFilter
-
Filter the expired certificates
- filterExpired(List<X509Certificate>) - Method in class com.github.toolarium.security.certificate.impl.CertificateFilter
- filterNotYedValid(List<X509Certificate>) - Method in interface com.github.toolarium.security.certificate.ICertificateFilter
-
Filter the not yet valid certificates
- filterNotYedValid(List<X509Certificate>) - Method in class com.github.toolarium.security.certificate.impl.CertificateFilter
- filterValid(List<X509Certificate>) - Method in interface com.github.toolarium.security.certificate.ICertificateFilter
-
Filter the valid certificates
- filterValid(List<X509Certificate>) - Method in class com.github.toolarium.security.certificate.impl.CertificateFilter
- formatBuffer(ByteArray, int, String, String) - Method in class com.github.toolarium.security.pki.util.PKIUtil
-
Formats a raw base64 encoded data to a well formed data.
- formatBuffer(String, int, String, String) - Method in class com.github.toolarium.security.pki.util.PKIUtil
-
Formats a raw base64 encoded data to a well formed data.
- formatDSAPKCS8(ByteArray) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- formatDSAPublicKey(PublicKey) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- formatECPKCS8(ByteArray) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- formatECPublicKey(PublicKey) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- formatPKCS7(ByteArray) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- formatPKCS7(String) - Method in interface com.github.toolarium.security.certificate.ICertificateConverter
-
Formats a raw base64 encoded X509 certificates to a well formated X509 certificate (PEM format), which are each bounded at the beginning by
-----BEGIN CERTIFICATE-----, and bounded at the end by-----END CERTIFICATE-----. - formatPKCS7(String) - Method in class com.github.toolarium.security.certificate.impl.CertificateConverter
- formatPKCS7(Certificate) - Method in interface com.github.toolarium.security.certificate.ICertificateConverter
-
Formats a certificate to a well formated X509 certificate (PEM format), which are each bounded at the beginning by
-----BEGIN CERTIFICATE-----, and bounded at the end by-----END CERTIFICATE-----. - formatPKCS7(Certificate) - Method in class com.github.toolarium.security.certificate.impl.CertificateConverter
- formatPKCS7(Certificate) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- formatPKCS7(X509Certificate[]) - Method in interface com.github.toolarium.security.certificate.ICertificateConverter
-
Create certificate chain into a well formed string representation
- formatPKCS7(X509Certificate[]) - Method in class com.github.toolarium.security.certificate.impl.CertificateConverter
- formatPKCS7(X509Certificate[]) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- formatPKCS8(String) - Method in interface com.github.toolarium.security.pki.IKeyConverter
-
Formats a raw base64 encoded PKCS8 to a well formed private key, which is bounded at the beginning by
-----BEGIN ... - formatPKCS8(String) - Method in class com.github.toolarium.security.pki.impl.DSAKeyConverter
- formatPKCS8(String) - Method in class com.github.toolarium.security.pki.impl.ECKeyConverter
- formatPKCS8(String) - Method in class com.github.toolarium.security.pki.impl.RSAKeyConverter
- formatPrivateKey(PrivateKey) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- formatPrivateKey(PrivateKey) - Method in interface com.github.toolarium.security.pki.IKeyConverter
-
Formats a private key to a well formed private key, which is bounded at the beginning by
-----BEGIN ... - formatPrivateKey(PrivateKey) - Method in class com.github.toolarium.security.pki.impl.AbstractKeyConverter
- formatPublicKey(PublicKey) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- formatPublicKey(PublicKey) - Method in interface com.github.toolarium.security.pki.IKeyConverter
-
Formats a public key into a well formated X509 certificate (PEM format), which are each bounded at the beginning by
-----BEGIN ... - formatPublicKey(PublicKey) - Method in class com.github.toolarium.security.pki.impl.DSAKeyConverter
- formatPublicKey(PublicKey) - Method in class com.github.toolarium.security.pki.impl.ECKeyConverter
- formatPublicKey(PublicKey) - Method in class com.github.toolarium.security.pki.impl.RSAKeyConverter
- formatRSAPKCS8(ByteArray) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- formatRSAPublicKey(PublicKey) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
G
- geChainAnalyzer() - Method in class com.github.toolarium.security.certificate.CertificateUtilFactory
-
Get the chain analyser
- generateKeyPair() - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- generateKeyPair() - Method in interface com.github.toolarium.security.pki.IKeyConverter
-
Generates a KeyPair containing a Private- and PublicKey
- generateKeyPair() - Method in class com.github.toolarium.security.pki.impl.AbstractKeyConverter
- generateKeyPair(String, int) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- generateKeyPair(String, int) - Method in interface com.github.toolarium.security.pki.IKeyConverter
-
Generates a KeyPair containing a Private- and PublicKey
- generateKeyPair(String, int) - Method in class com.github.toolarium.security.pki.impl.AbstractKeyConverter
- generateKeyPair(String, int) - Method in class com.github.toolarium.security.pki.util.PKIUtil
-
Generates a KeyPair containing a Private- and PublicKey
- generateKeyPair(String, String, int) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- generateKeyPair(String, String, int) - Method in class com.github.toolarium.security.pki.util.PKIUtil
-
Generates a KeyPair containing a Private- and PublicKey
- generateResponse(String, String, PrivateKey, byte[]) - Method in class com.github.toolarium.security.signature.ChallengeResponseUtil
-
Generates a response based on the given challenge and private key using the specified algorithm and provider
- generateResponse(String, PrivateKey, byte[]) - Method in class com.github.toolarium.security.signature.ChallengeResponseUtil
-
Generates a response based on the given challenge and private key using the specified algorithm and provider
- get(int) - Method in class com.github.toolarium.security.pki.impl.rsa.data.BitArray
-
Returns the indexed bit in this BitArray.
- getAcceptedIssuers() - Method in class com.github.toolarium.security.keystore.impl.ToolariumTrustManager
- getAlgorithm() - Method in class com.github.toolarium.security.pki.impl.rsa.RSAPrivateKeyPKCS8
- getAlgorithmMessage(String, String) - Method in class com.github.toolarium.security.util.CryptUtil
-
Prepare algorithm message
- getAlphabet() - Method in class com.github.toolarium.security.hash.HashId
-
Get the alphabet
- getAsString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns the name component as a Java string, regardless of its encoding restrictions (ASCII, T61, Printable, IA5, BMP, UTF8).
- getBitString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputBuffer
-
Returns the bit string which takes up the rest of this buffer.
- getBitString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Get a bit string from the input stream.
- getBitString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns an ASN.1 BIT STRING value.
- getBitString(boolean) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns an ASN.1 BIT STRING value, with the tag assumed implicit based on the parameter.
- getBMPString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Read a string that was encoded as a BMPString DER value.
- getBMPString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns the ASN.1 BMP (Unicode) STRING value as a Java string.
- getBoolean() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns an ASN.1 BOOLEAN
- getByte() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Get a byte from the input stream.
- getBytes(byte[]) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Returns the asked number of bytes from the input stream.
- getCertificateChain(String) - Method in class com.github.toolarium.security.keystore.impl.ToolariumKeyManager
- getCertificateFor(PublicKey, Collection<X509Certificate>) - Method in interface com.github.toolarium.security.certificate.ICertificateChainAnalyzer
-
Get certificate for
- getCertificateFor(PublicKey, Collection<X509Certificate>) - Method in class com.github.toolarium.security.certificate.impl.CertificateChainAnalyzer
- getCertificates() - Method in class com.github.toolarium.security.certificate.dto.CertificateStore
-
Get the certificate chain
- getChallenge(int) - Method in class com.github.toolarium.security.signature.ChallengeResponseUtil
-
Returns a random number as base64 encoded string
- getCheckResult() - Method in class com.github.toolarium.security.keystore.impl.ToolariumTrustManager
-
Gets the check result
- getCipher(String) - Method in class com.github.toolarium.security.util.CryptUtil
-
Get cipher
- getCipher(String, String) - Method in class com.github.toolarium.security.util.CryptUtil
-
Get cipher
- getClientAliases(String, Principal[]) - Method in class com.github.toolarium.security.keystore.impl.ToolariumKeyManager
- getConverter() - Method in class com.github.toolarium.security.certificate.CertificateUtilFactory
-
Get the converter
- getConverter() - Method in class com.github.toolarium.security.pki.KeyConverterFactory
-
Get the certificate converter
- getConverter(KeyConverterFactory.Types) - Method in class com.github.toolarium.security.pki.KeyConverterFactory
-
Get the converter byased on type / algorithm
- getConverter(String) - Method in class com.github.toolarium.security.pki.KeyConverterFactory
-
Get the converter byased on type / algorithm
- getConverter(PrivateKey) - Method in class com.github.toolarium.security.pki.KeyConverterFactory
-
Get the converter
- getConverter(PublicKey) - Method in class com.github.toolarium.security.pki.KeyConverterFactory
-
Get the converter
- getDefaultTrustKeyStore() - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Get default trust keystore
- getDefaultTrustManager() - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Get default
TrustManager. - getDefaultX509TrustManager() - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Get default
TrustManager. - getDERValue() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Get a single DER-encoded value from the input stream.
- getDSAPrivateKey(ByteArray) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- getDSAPrivateKey(String) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- getDSAPublicKey(byte[]) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- getDSAPublicKey(ByteArray) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- getECPrivateKey(ByteArray) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- getECPrivateKey(String) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- getECPublicKey(byte[]) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- getECPublicKey(ByteArray) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- getEncoded() - Method in class com.github.toolarium.security.pki.impl.rsa.RSAPrivateKeyPKCS8
- getEnumerated() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Get an enumerated from the input stream.
- getEnumerated() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns an ASN.1 ENUMERATED value.
- getFilter() - Method in class com.github.toolarium.security.certificate.CertificateUtilFactory
-
Get the filter
- getFormat() - Method in class com.github.toolarium.security.pki.impl.rsa.RSAPrivateKeyPKCS8
- getGeneralizedTime() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Get a generalized encoded time value from the input stream.
- getGenerator() - Method in class com.github.toolarium.security.certificate.CertificateUtilFactory
-
Get the generator
- getHostname() - Method in class com.github.toolarium.security.keystore.impl.ToolariumTrustManager
-
Gets the host name
- getIA5String() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Read a string that was encoded as a IA5tring DER value.
- getIA5String() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns an ASN.1 IA5 (ASCII) STRING value
- getInstance() - Static method in class com.github.toolarium.security.certificate.CertificateUtilFactory
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.certificate.util.CertificateTestUtil
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.Get the instance
- getInstance() - Static method in class com.github.toolarium.security.checkdigit.Modulo10
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.checkdigit.Modulo11
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.hash.CryptoHashUtil
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.keystore.SecurityManagerProviderFactory
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.pki.KeyConverterFactory
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.pki.util.PKIUtil
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.signature.ChallengeResponseUtil
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.signature.JsonSignatureUtil
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.signature.SignatureUtil
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.ssl.SSLContextFactory
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.ssl.util.SSLUtil
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.util.CryptUtil
-
Get the instance
- getInstance() - Static method in class com.github.toolarium.security.util.FileUtil
-
Get the instance
- getInteger() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Get an (unsigned) integer from the input stream.
- getInteger() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns an ASN.1 unsigned INTEGER value.
- getInteger(boolean) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns an ASN.1 unsigned INTEGER value, the parameter determining if the tag is implicit.
- getIssuer(X509Certificate, Collection<X509Certificate>) - Method in interface com.github.toolarium.security.certificate.ICertificateChainAnalyzer
-
Get the issues
- getIssuer(X509Certificate, Collection<X509Certificate>) - Method in class com.github.toolarium.security.certificate.impl.CertificateChainAnalyzer
- getKeyManagers() - Method in class com.github.toolarium.security.keystore.impl.SecurityManagerProviderImpl
- getKeyManagers() - Method in interface com.github.toolarium.security.keystore.ISecurityManagerProvider
-
Returns the key manager.
- getKeyPair() - Method in class com.github.toolarium.security.certificate.dto.CertificateStore
-
Get the keypair
- getKeySpec() - Method in class com.github.toolarium.security.pki.impl.rsa.RSAPrivateKeyPKCS8
-
Gets the key specification
- getKeyStoreAlias() - Method in interface com.github.toolarium.security.keystore.dto.IKeyStoreConfiguration
-
Get the key store alias
- getKeyStoreAlias() - Method in class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
- getKeyStoreFile() - Method in interface com.github.toolarium.security.keystore.dto.IKeyStoreConfiguration
-
Get the key store file
- getKeyStoreFile() - Method in class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
- getKeyStorePassword() - Method in interface com.github.toolarium.security.keystore.dto.IKeyStoreConfiguration
-
Get the key store password
- getKeyStorePassword() - Method in class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
- getKeyStoreProvider() - Method in interface com.github.toolarium.security.keystore.dto.IKeyStoreConfiguration
-
Get the key store provider
- getKeyStoreProvider() - Method in class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
- getKeyStoreType() - Method in interface com.github.toolarium.security.keystore.dto.IKeyStoreConfiguration
-
Get the key store type
- getKeyStoreType() - Method in class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
- getLength() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Gets the length
- getLength(int, InputStream) - Static method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Get a length from the input stream, allowing for at most 32 bits of encoding to be used.
- getLength(InputStream) - Static method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Get a length from the input stream, allowing for at most 32 bits of encoding to be used.
- getMaxAllowedKeyLength(String) - Method in class com.github.toolarium.security.util.CryptUtil
-
Prepare algorithm max key length
- getMinHashLength() - Method in class com.github.toolarium.security.hash.HashId
-
Get the min hash length
- getModulus() - Method in class com.github.toolarium.security.pki.impl.rsa.RSAPrivateKeyPKCS8
- getNull() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Reads an encoded null value from the input stream.
- getOctetString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Returns an ASN.1 OCTET STRING from the input stream.
- getOctetString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns an ASN.1 OCTET STRING
- getOID() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Reads an X.200 style Object Identifier from the stream.
- getOID() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns an ASN.1 OBJECT IDENTIFIER.
- getPrincipals(List<X509Certificate>) - Method in interface com.github.toolarium.security.certificate.ICertificateChainAnalyzer
-
Get the principals
- getPrincipals(List<X509Certificate>) - Method in class com.github.toolarium.security.certificate.impl.CertificateChainAnalyzer
- getPrintableString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Read a string that was encoded as a PrintableString DER value.
- getPrintableString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns an ASN.1 STRING value
- getPrivateExponent() - Method in class com.github.toolarium.security.pki.impl.rsa.RSAPrivateKeyPKCS8
- getPrivateKey(byte[]) - Method in interface com.github.toolarium.security.pki.IKeyConverter
-
Reads PKCS#8 formated private key from a buffer, which are each bounded at the beginning by
-----BEGIN ... - getPrivateKey(byte[]) - Method in class com.github.toolarium.security.pki.impl.AbstractKeyConverter
- getPrivateKey(File) - Method in interface com.github.toolarium.security.pki.IKeyConverter
-
Reads PKCS#8 formated private key from a file, which are each bounded at the beginning by
-----BEGIN ... - getPrivateKey(File) - Method in class com.github.toolarium.security.pki.impl.AbstractKeyConverter
- getPrivateKey(String) - Method in class com.github.toolarium.security.keystore.impl.ToolariumKeyManager
- getPrivateKey(String) - Method in interface com.github.toolarium.security.pki.IKeyConverter
-
Reads PKCS#8 formated private key from a buffer, which are each bounded at the beginning by
-----BEGIN ... - getPrivateKey(String) - Method in class com.github.toolarium.security.pki.impl.AbstractKeyConverter
- getPrivateKey(String) - Method in class com.github.toolarium.security.pki.impl.RSAKeyConverter
- getProvider() - Method in interface com.github.toolarium.security.pki.IKeyConverter
-
Get the provider
- getProvider() - Method in class com.github.toolarium.security.pki.impl.AbstractKeyConverter
- getPublicKey(byte[]) - Method in interface com.github.toolarium.security.pki.IKeyConverter
-
Reads PKCS#8 formated public key from a buffer, which are each bounded at the beginning by
-----BEGIN ... - getPublicKey(byte[]) - Method in class com.github.toolarium.security.pki.impl.DSAKeyConverter
- getPublicKey(byte[]) - Method in class com.github.toolarium.security.pki.impl.ECKeyConverter
- getPublicKey(byte[]) - Method in class com.github.toolarium.security.pki.impl.RSAKeyConverter
- getPublicKey(File) - Method in interface com.github.toolarium.security.pki.IKeyConverter
-
Reads PKCS#8 formated public key from a file, which are each bounded at the beginning by
-----BEGIN ... - getPublicKey(File) - Method in class com.github.toolarium.security.pki.impl.AbstractKeyConverter
- getPublicKey(String) - Method in interface com.github.toolarium.security.pki.IKeyConverter
-
Reads PKCS#8 formated public key from a buffer which are each bounded at the beginning by
-----BEGIN PUBLIC KEY-----, and bounded at the end by-----END PUBLIC KEY-----. - getPublicKey(String) - Method in class com.github.toolarium.security.pki.impl.AbstractKeyConverter
- getRSAPrivateKey(ByteArray) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- getRSAPrivateKey(String) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- getRSAPublicKey(byte[]) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- getRSAPublicKey(ByteArray) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- getSalt() - Method in class com.github.toolarium.security.hash.HashId
-
Get the salt
- getSecurityManagerProvider() - Method in class com.github.toolarium.security.keystore.SecurityManagerProviderFactory
-
Get the security manager provider with self-signed certificate and added to the trust store.
- getSecurityManagerProvider(IKeyStoreConfiguration, IKeyStoreConfiguration) - Method in class com.github.toolarium.security.keystore.SecurityManagerProviderFactory
-
Get the security manager provider
- getSecurityManagerProvider(File, File, ISecuredValue<String>) - Method in class com.github.toolarium.security.keystore.SecurityManagerProviderFactory
-
Get the security manager provider
- getSecurityManagerProvider(File, File, ISecuredValue<String>, String) - Method in class com.github.toolarium.security.keystore.SecurityManagerProviderFactory
-
Get the security manager provider
- getSecurityManagerProvider(String, String) - Method in class com.github.toolarium.security.keystore.SecurityManagerProviderFactory
-
Get the security manager provider with self-signed certificate and added to the trust store.
- getSecurityManagerProvider(String, String, String, String) - Method in class com.github.toolarium.security.keystore.SecurityManagerProviderFactory
-
Get the security manager provider with self-signed certificate and added to the trust store.
- getSecurityManagerProvider(String, String, String, String, String) - Method in class com.github.toolarium.security.keystore.SecurityManagerProviderFactory
-
Get the key store file and added the certificate to the trust store.
- getSecurityManagerProvider(KeyStore, String, String) - Method in class com.github.toolarium.security.keystore.SecurityManagerProviderFactory
-
Get the key store file and added the certificate to the trust store.
- getSecurityManagerProvider(KeyStore, KeyStore, ISecuredValue<String>) - Method in class com.github.toolarium.security.keystore.SecurityManagerProviderFactory
-
Get the security manager provider
- getSequence(int) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Return a sequence of encoded entities.
- getServerAliases(String, Principal[]) - Method in class com.github.toolarium.security.keystore.impl.ToolariumKeyManager
- getSessionId(SSLSession) - Method in class com.github.toolarium.security.ssl.util.SSLUtil
-
Get the SSL session id
- getSet(int) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Return a set of encoded entities.
- getSet(int, boolean) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Return a set of encoded entities.
- getSSLServerSocket(SSLContext, int, boolean) - Method in class com.github.toolarium.security.ssl.util.SSLUtil
-
Get SSL server socket
- getSSLServerSocket(SSLContext, int, boolean, Consumer<String>) - Method in class com.github.toolarium.security.ssl.util.SSLUtil
-
Get SSL server socket
- getT61String() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Read a string that was encoded as a T61String DER value.
- getT61String() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns an ASN.1 T61 (Teletype) STRING value
- getTrustAllCertificateManager() - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Get a
TrustManagerwhich trust all certificates - getTrustManagers() - Method in class com.github.toolarium.security.keystore.impl.SecurityManagerProviderImpl
- getTrustManagers() - Method in interface com.github.toolarium.security.keystore.ISecurityManagerProvider
-
Returns the trust manager.
- getType() - Method in interface com.github.toolarium.security.pki.IKeyConverter
-
Get the type, e.g.
- getType() - Method in class com.github.toolarium.security.pki.impl.AbstractKeyConverter
- getUnalignedBitString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputBuffer
-
Returns the bit string which takes up the rest of this buffer.
- getUnalignedBitString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Get a bit string from the input stream.
- getUnalignedBitString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns an ASN.1 BIT STRING value that need not be byte-aligned.
- getUnalignedBitString(boolean) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns an ASN.1 BIT STRING value, with the tag assumed implicit based on the parameter.
- getUnsigned(int) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputBuffer
-
Returns the unsigned integer which takes up the specified number of bytes in this buffer.
- getUTCTime() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Get a UTC encoded time value from the input stream.
- getUTF8String() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Read a string that was encoded as a UTF8String DER value.
- getUTF8String() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns the ASN.1 UTF-8 STRING value as a Java String.
- getVerifier() - Method in class com.github.toolarium.security.certificate.CertificateUtilFactory
-
Get the filter
- getVersion() - Static method in class com.github.toolarium.security.Version
-
Get the version number
- getX509Certificates(ByteArray) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- getX509Certificates(File) - Method in interface com.github.toolarium.security.certificate.ICertificateConverter
-
Reads a PKCS#7 (with base64 encoded) X509 certificates from a file, which are each bounded at the beginning by
-----BEGIN CERTIFICATE-----, and bounded at the end by-----END CERTIFICATE-----. - getX509Certificates(File) - Method in class com.github.toolarium.security.certificate.impl.CertificateConverter
- getX509Certificates(String) - Method in interface com.github.toolarium.security.certificate.ICertificateConverter
-
Read a PKCS#7 (with base64 encoded) X509 certificates from the given buffer, which are each bounded at the beginning by
-----BEGIN CERTIFICATE-----, and bounded at the end by-----END CERTIFICATE-----. - getX509Certificates(String) - Method in class com.github.toolarium.security.certificate.impl.CertificateConverter
- getX509Certificates(String) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- GROUP_ID - Static variable in class com.github.toolarium.security.Version
-
The group id
H
- hashCode() - Method in class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
- hashCode() - Method in class com.github.toolarium.security.pki.impl.rsa.data.BigInt
-
Returns a hashcode for this BigInt.
- hashCode() - Method in class com.github.toolarium.security.pki.impl.rsa.data.BitArray
-
Returns a hash code value for this bit array.
- hashCode() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputBuffer
-
Returns a hashcode for this DerInputBuffer.
- hashCode() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns a hashcode for this DERValue.
- hashCode() - Method in class com.github.toolarium.security.pki.impl.rsa.der.ObjectIdentifier
- HashId - Class in com.github.toolarium.security.hash
-
HashId: A small Java class to generate YouTube-like hashes from one or many numbers, ported from javascript hashids.js by Ivan Akimov.
I
- ICertificateChainAnalyzer - Interface in com.github.toolarium.security.certificate
-
Defines the certificate chain analyser
- ICertificateConverter - Interface in com.github.toolarium.security.certificate
-
Defines the certificate converter interface.
- ICertificateFilter - Interface in com.github.toolarium.security.certificate
-
Defines the certificate filter interface.
- ICertificateGenerator - Interface in com.github.toolarium.security.certificate
-
Defines the certificate generator interface.
- ICertificateVerifier - Interface in com.github.toolarium.security.certificate
-
Defines the certificate verifier interface.
- IKeyConverter - Interface in com.github.toolarium.security.pki
-
Defines the key converter interface.
- IKeyStoreConfiguration - Interface in com.github.toolarium.security.keystore.dto
-
Defines the security manager provider configuration
- IModulo<T> - Interface in com.github.toolarium.security.checkdigit
-
Defines the modulo digest api.
- IS_RELEASE_VERSION - Static variable in class com.github.toolarium.security.Version
-
Define if it is a release version
- isConstructed() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns true iff the CONSTRUCTED bit is set in the type tag.
- isContextSpecific() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns true iff the CONTEXT SPECIFIC bit is set in the type tag.
- isContextSpecific(byte) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns true iff the CONTEXT SPECIFIC TAG matches the passed tag.
- ISecurityManagerProvider - Interface in com.github.toolarium.security.keystore
-
Defines the security manager provider which contains the
KeyManagerand theTrustManager. - isSelfSigned(X509Certificate) - Method in interface com.github.toolarium.security.certificate.ICertificateChainAnalyzer
-
Determines if a certificate is a self-signed certificate
- isSelfSigned(X509Certificate) - Method in class com.github.toolarium.security.certificate.impl.CertificateChainAnalyzer
- isSignedBy(X509Certificate, PublicKey) - Method in interface com.github.toolarium.security.certificate.ICertificateChainAnalyzer
-
Determines if a certificate is signed by the public key
- isSignedBy(X509Certificate, PublicKey) - Method in class com.github.toolarium.security.certificate.impl.CertificateChainAnalyzer
- isStrongEncryptionEnabled() - Method in class com.github.toolarium.security.util.CryptUtil
-
Check if strong cryption is enabled or not
J
- JavaSecurityTester - Class in com.github.toolarium.security.test
-
Test the egd
- JsonSignatureUtil - Class in com.github.toolarium.security.signature
-
JSON signature based on https://global.alipay.com/docs/ac/gr/signature#d2e38597
K
- KeyConverterFactory - Class in com.github.toolarium.security.pki
-
The key converter factory
- KeyConverterFactory.Types - Enum Class in com.github.toolarium.security.pki
- KeyStoreConfiguration - Class in com.github.toolarium.security.keystore.dto
-
Implements the
IKeyStoreConfiguration. - KeyStoreConfiguration() - Constructor for class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
-
Constructor for KeyStoreConfiguration
- KeyStoreConfiguration(File, ISecuredValue<String>) - Constructor for class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
-
Constructor for KeyStoreConfiguration
- KeyStoreConfiguration(File, String, String, String, ISecuredValue<String>) - Constructor for class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
-
Constructor for KeyStoreConfiguration
- KeyStoreUtil - Class in com.github.toolarium.security.keystore.util
-
KeyStoreutil class.
L
- length() - Method in class com.github.toolarium.security.pki.impl.rsa.data.BitArray
-
Returns the length of this BitArray.
- length() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Get the length of the encoded value.
- LICENSE - Static variable in class com.github.toolarium.security.Version
-
The license
- LICENSE_ORGANISATION - Static variable in class com.github.toolarium.security.Version
-
The license organisation
M
- main(String[]) - Static method in class com.github.toolarium.security.certificate.impl.CertificateGenerator
-
The test CA can e.g.
- main(String[]) - Static method in class com.github.toolarium.security.test.JavaSecurityTester
-
The main class
- main(String[]) - Static method in class com.github.toolarium.security.Version
-
Main class to print build / version information
- MAJOR_NUMBER - Static variable in class com.github.toolarium.security.Version
-
The major number
- mark(int) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Mark the current position in the buffer, so that a later call to
resetwill return here. - md5(byte[]) - Method in class com.github.toolarium.security.hash.CryptoHashUtil
-
Creates an MD5 message digest for the given input.
- MINOR_NUMBER - Static variable in class com.github.toolarium.security.Version
-
The minor number
- Modulo10 - Class in com.github.toolarium.security.checkdigit
-
Implements the modulo 10 also known as LUHN.
- Modulo11 - Class in com.github.toolarium.security.checkdigit
-
Implements the modulo 11.
N
- NANOSECS - Static variable in class com.github.toolarium.security.test.JavaSecurityTester
- NL - Static variable in class com.github.toolarium.security.pki.impl.AbstractKeyConverter
- normaliseChain(List<X509Certificate>) - Method in interface com.github.toolarium.security.certificate.ICertificateChainAnalyzer
-
Take a chain and return a (Read-only) chain with the root certificate as the first entry
- normaliseChain(List<X509Certificate>) - Method in class com.github.toolarium.security.certificate.impl.CertificateChainAnalyzer
- normalizeBuffer(ByteArray, String, String) - Method in class com.github.toolarium.security.pki.util.PKIUtil
-
Normalise a raw base64 encoded data to a well formed data.
- normalizeBuffer(String, String, String) - Method in class com.github.toolarium.security.pki.util.PKIUtil
-
Normalise a raw base64 encoded data to a well formed data.
- normalizeDSAPKCS8(ByteArray) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- normalizeECPKCS8(ByteArray) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- normalizePKCS8(String) - Method in interface com.github.toolarium.security.pki.IKeyConverter
-
Normalise a raw base64 encoded PKCS8 to a well formed private key.
- normalizePKCS8(String) - Method in class com.github.toolarium.security.pki.impl.DSAKeyConverter
- normalizePKCS8(String) - Method in class com.github.toolarium.security.pki.impl.ECKeyConverter
- normalizePKCS8(String) - Method in class com.github.toolarium.security.pki.impl.RSAKeyConverter
- normalizeRSAPKCS8(ByteArray) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
O
- ObjectIdentifier - Class in com.github.toolarium.security.pki.impl.rsa.der
-
Represent an ISO Object Identifier.
- ObjectIdentifier(int[]) - Constructor for class com.github.toolarium.security.pki.impl.rsa.der.ObjectIdentifier
-
Constructs an object ID from an array of integers.
- ObjectIdentifier(DERInputBuffer) - Constructor for class com.github.toolarium.security.pki.impl.rsa.der.ObjectIdentifier
-
Build the OID from the rest of a DER input buffer; the tag and length have been removed/verified
- ObjectIdentifier(DERInputStream) - Constructor for class com.github.toolarium.security.pki.impl.rsa.der.ObjectIdentifier
-
Constructs an object ID from an ASN.1 encoded input stream.
- ObjectIdentifier(String) - Constructor for class com.github.toolarium.security.pki.impl.rsa.der.ObjectIdentifier
-
Constructs an object identifier from a string.
P
- PACKAGE - Static variable in class com.github.toolarium.security.Version
-
The package
- parseString(String) - Method in class com.github.toolarium.security.checkdigit.AbstractModulo
-
Parse the given string
- peekByte() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Peek a byte
- PKIUtil - Class in com.github.toolarium.security.certificate.util
-
Deprecated.
- PKIUtil - Class in com.github.toolarium.security.pki.util
-
This class implements some handy methods in context of PKI
- precedes(ObjectIdentifier) - Method in class com.github.toolarium.security.pki.impl.rsa.der.ObjectIdentifier
-
Compares this identifier with another, for sorting purposes.
- PRIVATE_DSA_KEY_END - Static variable in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.the private DSA key certificate end
- PRIVATE_DSA_KEY_END - Static variable in class com.github.toolarium.security.pki.impl.DSAKeyConverter
-
the private DSA key certificate end
- PRIVATE_DSA_KEY_START - Static variable in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.the private DSA key certificate start
- PRIVATE_DSA_KEY_START - Static variable in class com.github.toolarium.security.pki.impl.DSAKeyConverter
-
the private DSA key certificate start
- PRIVATE_EC_KEY_END - Static variable in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.the private EC key certificate end
- PRIVATE_EC_KEY_END - Static variable in class com.github.toolarium.security.pki.impl.ECKeyConverter
-
the private EC key certificate end
- PRIVATE_EC_KEY_START - Static variable in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.the private ECA key certificate start
- PRIVATE_EC_KEY_START - Static variable in class com.github.toolarium.security.pki.impl.ECKeyConverter
-
the private ECA key certificate start
- PRIVATE_RSA_KEY_END - Static variable in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.the private RSA key certificate end
- PRIVATE_RSA_KEY_END - Static variable in class com.github.toolarium.security.pki.impl.RSAKeyConverter
-
the private RSA key certificate end
- PRIVATE_RSA_KEY_START - Static variable in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.the private RSA key certificate start
- PRIVATE_RSA_KEY_START - Static variable in class com.github.toolarium.security.pki.impl.RSAKeyConverter
-
the private RSA key certificate start
- processCertificate(Consumer<String>, String, X509Certificate...) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- processCertificate(Consumer<String>, String, X509Certificate...) - Method in class com.github.toolarium.security.pki.util.PKIUtil
-
Process a given certificate
- processPrivateKeyInfo(Consumer<String>, String, PrivateKey) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- processPrivateKeyInfo(Consumer<String>, String, PrivateKey) - Method in class com.github.toolarium.security.pki.util.PKIUtil
-
Process given private key information
- processPublicKeyInfo(Consumer<String>, String, PublicKey) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- processPublicKeyInfo(Consumer<String>, String, PublicKey) - Method in class com.github.toolarium.security.pki.util.PKIUtil
-
Process a given public key information
- processServerSocketInfo(Consumer<String>, SSLServerSocket) - Method in class com.github.toolarium.security.ssl.util.SSLUtil
-
Print server socket information
- processSocketInfo(Consumer<String>, SSLSocket) - Method in class com.github.toolarium.security.ssl.util.SSLUtil
-
Print socket information
- PROJECT_NAME - Static variable in class com.github.toolarium.security.Version
-
The project name
- PROJECT_TYPE - Static variable in class com.github.toolarium.security.Version
-
The project type
- PUBLIC_CERTIFICATE_END - Static variable in class com.github.toolarium.security.certificate.impl.CertificateConverter
-
the public key certificate end
- PUBLIC_CERTIFICATE_END - Static variable in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.the public key certificate end
- PUBLIC_CERTIFICATE_START - Static variable in class com.github.toolarium.security.certificate.impl.CertificateConverter
-
the public key certificate start
- PUBLIC_CERTIFICATE_START - Static variable in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.the public key certificate start
- PUBLIC_DSA_KEY_END - Static variable in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.the public DSA key end
- PUBLIC_DSA_KEY_END - Static variable in class com.github.toolarium.security.pki.impl.DSAKeyConverter
-
the public DSA key end
- PUBLIC_DSA_KEY_END - Static variable in class com.github.toolarium.security.pki.impl.RSAKeyConverter
-
the public DSA key end
- PUBLIC_DSA_KEY_START - Static variable in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.the public DSA key start
- PUBLIC_DSA_KEY_START - Static variable in class com.github.toolarium.security.pki.impl.DSAKeyConverter
-
the public DSA key start
- PUBLIC_EC_KEY_END - Static variable in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.the public EC key end
- PUBLIC_EC_KEY_END - Static variable in class com.github.toolarium.security.pki.impl.ECKeyConverter
-
the public EC key end
- PUBLIC_EC_KEY_START - Static variable in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.the public EC key start
- PUBLIC_EC_KEY_START - Static variable in class com.github.toolarium.security.pki.impl.ECKeyConverter
-
the public EC key start
- PUBLIC_RSA_KEY_END - Static variable in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.the public RSA key end
- PUBLIC_RSA_KEY_END - Static variable in class com.github.toolarium.security.pki.impl.RSAKeyConverter
-
the public RSA key end
- PUBLIC_RSA_KEY_START - Static variable in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.the public RSA key start
- PUBLIC_RSA_KEY_START - Static variable in class com.github.toolarium.security.pki.impl.RSAKeyConverter
-
the public RSA key start
- putBitString(byte[]) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals a DER bit string on the output stream.
- putBMPString(String) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals a string as a DER encoded BMPString.
- putBoolean(boolean) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals a DER boolean on the output stream.
- putDERValue(DERValue) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals pre-encoded DER value onto the output stream.
- putEnumerated(BigInt) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals a DER enumerated on the output stream.
- putGeneralizedTime(Date) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals a DER Generalized Time/date value.
- putIA5String(String) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals a string as a DER encoded IA5String.
- putInteger(BigInt) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals a DER unsigned integer on the output stream.
- putLength(int) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Put the encoding of the length in the stream.
- putNull() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals a DER "null" value on the output stream.
- putOctetString(byte[]) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
DER-encodes an ASN.1 OCTET STRING value on the output stream.
- putOID(ObjectIdentifier) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals an object identifier (OID) on the output stream.
- putOrderedSet(byte, DEREncoder[]) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals the contents of a set on the output stream.
- putOrderedSetOf(byte, DEREncoder[]) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals the contents of a set on the output stream.
- putPrintableString(String) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals a string as a DER encoded PrintableString.
- putSequence(DERValue[]) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals a sequence on the output stream.
- putSet(DERValue[]) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals the contents of a set on the output stream without ordering the elements.
- putT61String(String) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals a string as a DER encoded T61String.
- putTag(byte, boolean, byte) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Put the tag of the attribute in the stream.
- putUnalignedBitString(BitArray) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals a DER bit string on the output stream.
- putUTCTime(Date) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals a DER UTC time/date value.
- putUTF8String(String) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Marshals a string as a DER encoded UTF8String.
Q
R
- readFileContent(File) - Method in class com.github.toolarium.security.util.FileUtil
-
Read the file content
- readFileContent(File, Charset) - Method in class com.github.toolarium.security.util.FileUtil
-
Read the file content
- readFileContent(Path) - Method in class com.github.toolarium.security.util.FileUtil
-
Read the file content
- readFileContent(Path, Charset) - Method in class com.github.toolarium.security.util.FileUtil
-
Read the file content
- readKeyStore(String, String, String, ISecuredValue<String>) - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Read a file as key store
- readPKCS12KeyPair(String, String, String, ISecuredValue<String>) - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Read a PKCS12 file as key store
- readPKCS12KeyStore(String, ISecuredValue<String>) - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Read a PKCS12 file as key store
- readPKCS12KeyStore(String, String, ISecuredValue<String>) - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Read a PKCS12 file as key store
- readVector(int) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Read a "vector" of values ...
- reset() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Return to the position of the last
markcall. - resetTag(byte) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Set the tag of the attribute.
- REVISION_NUMBER - Static variable in class com.github.toolarium.security.Version
-
The revision number
- RSA - Enum constant in enum class com.github.toolarium.security.pki.KeyConverterFactory.Types
- RSAKeyConverter - Class in com.github.toolarium.security.pki.impl
-
Implements the RSA
IKeyConverter. - RSAKeyConverter() - Constructor for class com.github.toolarium.security.pki.impl.RSAKeyConverter
-
Constructor for RSAConverter
- RSAKeyConverter(String) - Constructor for class com.github.toolarium.security.pki.impl.RSAKeyConverter
-
Constructor for RSAConverter
- RSAPrivateKeyPKCS8 - Class in com.github.toolarium.security.pki.impl.rsa
-
This class implements the encoding of a RSA private key
- RSAPrivateKeyPKCS8(byte[]) - Constructor for class com.github.toolarium.security.pki.impl.rsa.RSAPrivateKeyPKCS8
-
Default constructor for RSAPrivateKeyPKCS8
- RSAPrivateKeyPKCS8(RSAPrivateCrtKeySpec) - Constructor for class com.github.toolarium.security.pki.impl.rsa.RSAPrivateKeyPKCS8
-
Copy constructor for RSAPrivateKeyPKCS8
S
- SCM_NUMBER - Static variable in class com.github.toolarium.security.Version
-
The source management number
- SecurityManagerProviderFactory - Class in com.github.toolarium.security.keystore
-
Defines the security manager provider factory.
- SecurityManagerProviderImpl - Class in com.github.toolarium.security.keystore.impl
-
Implements
ISecurityManagerProvider. - SecurityManagerProviderImpl(KeyStore, KeyStore, ISecuredValue<String>) - Constructor for class com.github.toolarium.security.keystore.impl.SecurityManagerProviderImpl
-
Constructor for SecurityManagerImpl
- set(int, boolean) - Method in class com.github.toolarium.security.pki.impl.rsa.data.BitArray
-
Sets the indexed bit in this BitArray.
- setKeyStoreAlias(String) - Method in class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
-
Set the key store alias
- setKeyStorefile(File) - Method in class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
-
Set the key store file
- setKeyStorePassword(ISecuredValue<String>) - Method in class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
-
Set the key store password
- setKeyStorePassword(String) - Method in class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
-
Set the key store password
- setKeyStoreProvider(String) - Method in class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
-
Set the key store provider
- setKeyStoreType(String) - Method in class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
-
Set the key store type
- setVerifyCertificate(boolean) - Method in class com.github.toolarium.security.keystore.impl.ToolariumTrustManager
-
Set the verify certificate
- sha1(byte[]) - Method in class com.github.toolarium.security.hash.CryptoHashUtil
-
Creates an SHA1 message digest for the given input.
- sha256(byte[]) - Method in class com.github.toolarium.security.hash.CryptoHashUtil
-
Creates an SHA-256 message digest for the given input.
- sha512(byte[]) - Method in class com.github.toolarium.security.hash.CryptoHashUtil
-
Creates an SHA-512 message digest for the given input.
- sign(String, String, PrivateKey, byte[]) - Method in class com.github.toolarium.security.signature.SignatureUtil
-
Sign data with the given algorithm and private key.
- sign(String, String, PrivateKey, String) - Method in class com.github.toolarium.security.signature.JsonSignatureUtil
-
Sign a json
- sign(String, PrivateKey, byte[]) - Method in class com.github.toolarium.security.signature.SignatureUtil
-
Sign data with the given algorithm and private key.
- SignatureUtil - Class in com.github.toolarium.security.signature
-
This class implements a simple interface to sign data and verify the signed data.
- SSLContextFactory - Class in com.github.toolarium.security.ssl
-
Defines the SSL context factory.
- SSLUtil - Class in com.github.toolarium.security.ssl.util
-
SSL Util
- subStream(int, boolean) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Creates a new DER input stream from part of this input stream.
T
- TAG_APPLICATION - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
the application tag
- tag_BitString - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "BIT STRING" value.
- tag_BMPString - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "BMPString" value.
- tag_Boolean - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "BOOLEAN" value.
- TAG_CONTEXT - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
the context tag
- tag_Enumerated - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value including an ASN.1 "ENUMERATED" value
- tag_GeneralizedTime - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "GeneralizedTime" value.
- tag_IA5String - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value including an ASCII string
- tag_Integer - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "INTEGER" value.
- tag_Null - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "NULL" value.
- tag_ObjectId - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "OBJECT IDENTIFIER" value.
- tag_OctetString - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "OCTET STRING" value.
- tag_PrintableString - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value including a "printable" string
- TAG_PRIVATE - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
the private tag
- tag_Sequence - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "SEQUENCE" (zero to N elements, order is significant).
- tag_SequenceOf - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "SEQUENCE OF" (one to N elements, order is significant).
- tag_Set - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "SET" (zero to N members, order does not matter).
- tag_SetOf - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "SET OF" (one to N members, order does not matter).
- tag_T61String - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value including a "teletype" string
- TAG_UNIVERSAL - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
The tag class types
- tag_UniversalString - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "UniversalString" value.
- tag_UtcTime - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "UTCTime" value.
- tag_UTF8String - Static variable in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Tag value indicating an ASN.1 "UTF8String" value.
- toBigInteger() - Method in class com.github.toolarium.security.pki.impl.rsa.data.BigInt
-
Returns a BigInteger value which supports many arithmetic operations.
- toBooleanArray() - Method in class com.github.toolarium.security.pki.impl.rsa.data.BitArray
-
Return a boolean array with the same bit values a this BitArray.
- toByteArray() - Method in class com.github.toolarium.security.pki.impl.rsa.data.BigInt
-
Returns the data as a byte array.
- toByteArray() - Method in class com.github.toolarium.security.pki.impl.rsa.data.BitArray
-
Returns a Byte array containing the contents of this BitArray.
- toByteArray() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputStream
-
Return what has been written to this DERInputStream as a byte array.
- toByteArray() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns a DER-encoded value, such that if it's passed to the DERValue constructor, a value equivalent to "this" is returned.
- toDERInputStream() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
For "set" and "sequence" types, this function may be used to return a DER stream of the members of the set or sequence.
- toDNList(List<X509Certificate>) - Method in class com.github.toolarium.security.certificate.util.CertificateTestUtil
-
Convert certificate list to a string expression with DN
- toInt() - Method in class com.github.toolarium.security.pki.impl.rsa.data.BigInt
-
Converts the "big" integer to a java primitive integer.
- toKeyStore(String, String) - Method in class com.github.toolarium.security.certificate.dto.CertificateStore
-
Create a PKCS12 key store
- ToolariumKeyManager - Class in com.github.toolarium.security.keystore.impl
-
Toolariun
KeyManagerwhich logs the verification. - ToolariumKeyManager(X509KeyManager) - Constructor for class com.github.toolarium.security.keystore.impl.ToolariumKeyManager
-
Constructor for ToolariumKeyManager
- ToolariumTrustManager - Class in com.github.toolarium.security.keystore.impl
-
Toolariun
TrustManagerwhich logs the verification. - ToolariumTrustManager() - Constructor for class com.github.toolarium.security.keystore.impl.ToolariumTrustManager
-
Constructor for ToolariumTrustManager
- toRootFirst(List<X509Certificate>) - Method in interface com.github.toolarium.security.certificate.ICertificateChainAnalyzer
-
Take a chain and return a (Read-only) chain with the root certificate as the first entry
- toRootFirst(List<X509Certificate>) - Method in class com.github.toolarium.security.certificate.impl.CertificateChainAnalyzer
- toString() - Method in class com.github.toolarium.security.keystore.dto.KeyStoreConfiguration
- toString() - Method in class com.github.toolarium.security.pki.impl.rsa.data.BigInt
-
Returns a hexadecimal printed representation.
- toString() - Method in class com.github.toolarium.security.pki.impl.rsa.data.BitArray
- toString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERValue
-
Returns a printable representation of the value.
- toString() - Method in class com.github.toolarium.security.pki.impl.rsa.der.ObjectIdentifier
-
Returns a string form of the object ID.
- truncate(int) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DERInputBuffer
-
Truncate
- trustServerCertificate(X509Certificate) - Method in class com.github.toolarium.security.keystore.impl.ToolariumTrustManager
-
Check if the given certificate should be trust and added to the certificate server list
U
V
- validate(String) - Method in class com.github.toolarium.security.checkdigit.AbstractModulo
- validate(String) - Method in interface com.github.toolarium.security.checkdigit.IModulo
-
Validate a number if modulo is valid
- valueOf(String) - Static method in enum class com.github.toolarium.security.pki.KeyConverterFactory.Types
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.github.toolarium.security.pki.KeyConverterFactory.Types
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verify(String, String, PublicKey, byte[], byte[]) - Method in class com.github.toolarium.security.signature.SignatureUtil
-
Verify a signed data.
- verify(String, String, PublicKey, String) - Method in class com.github.toolarium.security.signature.JsonSignatureUtil
-
Verify signed json content
- verify(String, PublicKey, byte[], byte[]) - Method in class com.github.toolarium.security.signature.SignatureUtil
-
Verify a signed data.
- verifyCertificate(Consumer<String>, X509Certificate) - Method in interface com.github.toolarium.security.certificate.ICertificateVerifier
-
Verifies the digital signature of a certificate.
- verifyCertificate(Consumer<String>, X509Certificate) - Method in class com.github.toolarium.security.certificate.impl.CertificateVerifier
- verifyCertificate(Consumer<String>, X509Certificate) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- verifyCertificate(Consumer<String>, X509Certificate, X509Certificate) - Method in interface com.github.toolarium.security.certificate.ICertificateVerifier
-
Verifies the digital signature of a certificate.
- verifyCertificate(Consumer<String>, X509Certificate, X509Certificate) - Method in class com.github.toolarium.security.certificate.impl.CertificateVerifier
- verifyCertificate(Consumer<String>, X509Certificate, X509Certificate) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- verifyCertificateChain(X509Certificate[], String) - Method in class com.github.toolarium.security.keystore.impl.ToolariumTrustManager
-
Verifies a certificate chain.
- verifyCertificateChain(Consumer<String>, X509Certificate[]) - Method in interface com.github.toolarium.security.certificate.ICertificateVerifier
-
Verifies a chain of certificates where the user certificate is stored at index 0.
- verifyCertificateChain(Consumer<String>, X509Certificate[]) - Method in class com.github.toolarium.security.certificate.impl.CertificateVerifier
- verifyCertificateChain(Consumer<String>, X509Certificate[]) - Method in class com.github.toolarium.security.certificate.util.PKIUtil
-
Deprecated.
- Version - Class in com.github.toolarium.security
-
The version class
- Version() - Constructor for class com.github.toolarium.security.Version
- VERSION - Static variable in class com.github.toolarium.security.Version
-
The full version number
W
- write(byte, byte[]) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Writes tagged, pre-marshaled data.
- write(byte, DEROutputStream) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Writes tagged data using buffer-to-buffer copy.
- write(String, String, ISecuredValue<String>) - Method in class com.github.toolarium.security.certificate.dto.CertificateStore
-
Write the PKCS12 key store
- write(String, String, String) - Method in class com.github.toolarium.security.certificate.dto.CertificateStore
-
Write the PKCS12 key store
- writeCertificate(String) - Method in class com.github.toolarium.security.certificate.dto.CertificateStore
-
Write the certificate file
- writeImplicit(byte, DEROutputStream) - Method in class com.github.toolarium.security.pki.impl.rsa.der.DEROutputStream
-
Writes implicitly tagged data using buffer-to-buffer copy.
- writePKCS12KeyStore(String, String, String, PrivateKey, Certificate[], ISecuredValue<String>) - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Writes a PKCS12 file as key store
- writePKCS12KeyStore(String, String, PrivateKey, Certificate[], ISecuredValue<String>) - Method in class com.github.toolarium.security.keystore.util.KeyStoreUtil
-
Writes a PKCS12 file as key store
- writePrivateKey(String) - Method in class com.github.toolarium.security.certificate.dto.CertificateStore
-
Write the private key file
- writePublicKey(String) - Method in class com.github.toolarium.security.certificate.dto.CertificateStore
-
Write the public key file
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form