$ A B C D E F G H I K L N O P R S T V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
$
- $fillValuesFrom(C) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes.CertificateAttributesBuilder
- $fillValuesFrom(C) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo.CertificateInfoBuilder
- $fillValuesFrom(C) - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy.ValitidyBuilder
A
- Address - Class in io.github.astrapi69.crypt.data.blockchain
-
The class
Address
- Address() - Constructor for class io.github.astrapi69.crypt.data.blockchain.Address
- Address(String, byte[]) - Constructor for class io.github.astrapi69.crypt.data.blockchain.Address
-
Instantiates a new
Address
- AesRsaCryptModel - Class in io.github.astrapi69.crypt.data.model
-
The class
AesRsaCryptModel
holds a byte array of the encrypted asymmetric key and the byte array of the encrypted object that is encrypted with the symmetric key - AesRsaCryptModel() - Constructor for class io.github.astrapi69.crypt.data.model.AesRsaCryptModel
- AlgorithmParameterSpecFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
AlgorithmParameterSpecFactory
holds methods for creatingAlgorithmParameterSpec
objects.
B
- BEGIN_CERTIFICATE_PREFIX - Static variable in class io.github.astrapi69.crypt.data.key.reader.CertificateReader
-
The Constant BEGIN_CERTIFICATE_PREFIX.
- BEGIN_PUBLIC_KEY_PREFIX - Static variable in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
The Constant BEGIN_PUBLIC_KEY_PREFIX.
- Block - Class in io.github.astrapi69.crypt.data.blockchain
-
The class
Block
- Block() - Constructor for class io.github.astrapi69.crypt.data.blockchain.Block
- Block(byte[], List<ITransaction>, long) - Constructor for class io.github.astrapi69.crypt.data.blockchain.Block
- build() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes.CertificateAttributesBuilder
- build() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo.CertificateInfoBuilder
- build() - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy.ValitidyBuilder
- build() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
- build() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule.ObfuscationRuleBuilder
- build() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules.CharacterObfuscationRulesBuilder
- build() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules.ObfuscationBiMapRulesBuilder
- build() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules.ObfuscationRulesBuilder
- builder() - Static method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- builder() - Static method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- builder() - Static method in class io.github.astrapi69.crypt.data.certificate.Valitidy
- builder() - Static method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- builder() - Static method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- builder() - Static method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules
- builder() - Static method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
C
- canEqual(Object) - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- canEqual(Object) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- canEqual(Object) - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- canEqual(Object) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- canEqual(Object) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- canEqual(Object) - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy
- canEqual(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.CharacterObfuscationOperationRule
- canEqual(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- canEqual(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- canEqual(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules
- canEqual(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules
- canEqual(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
- CertFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
CertFactory
holds methods for creatingCertificate
objects and sub classes likeX509Certificate
. - CertificateAttributes - Class in io.github.astrapi69.crypt.data.certificate
- CertificateAttributes() - Constructor for class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- CertificateAttributes(CertificateAttributes.CertificateAttributesBuilder<?, ?>) - Constructor for class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- CertificateAttributes(String, String, String, String, String, String) - Constructor for class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- CertificateAttributes.CertificateAttributesBuilder<C extends CertificateAttributes,B extends CertificateAttributes.CertificateAttributesBuilder<C,B>> - Class in io.github.astrapi69.crypt.data.certificate
- CertificateAttributesBuilder() - Constructor for class io.github.astrapi69.crypt.data.certificate.CertificateAttributes.CertificateAttributesBuilder
- CertificateBuilderFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
CertificateBuilderFactory
holds methods for creating CertificateBuilder. - CertificateExtensions - Class in io.github.astrapi69.crypt.data.key
-
The class
CertificateExtensions
provides extension methods forX509Certificate
objects. - CertificateInfo - Class in io.github.astrapi69.crypt.data.certificate
- CertificateInfo() - Constructor for class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- CertificateInfo(int, BigInteger, String, String, Valitidy, PublicKey, String, Map<String, String>) - Constructor for class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- CertificateInfo(CertificateInfo.CertificateInfoBuilder<?, ?>) - Constructor for class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- CertificateInfo.CertificateInfoBuilder<C extends CertificateInfo,B extends CertificateInfo.CertificateInfoBuilder<C,B>> - Class in io.github.astrapi69.crypt.data.certificate
- CertificateInfoBuilder() - Constructor for class io.github.astrapi69.crypt.data.certificate.CertificateInfo.CertificateInfoBuilder
- CertificateReader - Class in io.github.astrapi69.crypt.data.key.reader
-
The class
CertificateReader
is a utility class for reading certificates. - CertificateWriter - Class in io.github.astrapi69.crypt.data.key.writer
-
The class
CertificateWriter
is a utility class for write certificates in files or streams in several file formats. - character(C) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
- character(C) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule.ObfuscationRuleBuilder
- CharacterObfuscationOperationRule - Class in io.github.astrapi69.crypt.data.obfuscation.rule
-
The class
CharacterObfuscationOperationRule
builds a complex rule for obfuscating a single character. - CharacterObfuscationOperationRule() - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rule.CharacterObfuscationOperationRule
- CharacterObfuscationOperationRule(Character, Set<Integer>, boolean, Optional<Character>, Operation, Character) - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rule.CharacterObfuscationOperationRule
- CharacterObfuscationRules - Class in io.github.astrapi69.crypt.data.obfuscation.rules
-
The class
CharacterObfuscationRules
can define a simple rule for encrypt and decrypt a key. - CharacterObfuscationRules(BiMap<Character, Character>) - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules
-
Instantiates a new
CharacterObfuscationRules
. - CharacterObfuscationRules.CharacterObfuscationRulesBuilder - Class in io.github.astrapi69.crypt.data.obfuscation.rules
- CipherFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
CipherFactory
holds methods for creatingCipher
objects. - clearRules() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules.ObfuscationRulesBuilder
- commonName(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes.CertificateAttributesBuilder
- compare(ObfuscationOperationRule<Character, Character>, ObfuscationOperationRule<Character, Character>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRuleComparator
- countryCode(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes.CertificateAttributesBuilder
- CryptModel<C,K,T> - Class in io.github.astrapi69.crypt.data.model
-
The class
CryptModel
holds data for the encryption or decryption process. - CryptModel() - Constructor for class io.github.astrapi69.crypt.data.model.CryptModel
- CryptModelFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
CryptModelFactory
holds methods for creatingCryptModel
objects - CryptoAlgorithm - Class in io.github.astrapi69.crypt.data.algorithm
-
The class
CryptoAlgorithm
provides factory method for create an algorithm from string for encryption or decryption. - CryptObjectDecorator<T> - Class in io.github.astrapi69.crypt.data.model
-
The class
CryptObjectDecorator
holds a prefix and a suffix that can decorate an crypt object - CryptObjectDecorator() - Constructor for class io.github.astrapi69.crypt.data.model.CryptObjectDecorator
D
- decodeBase64(String) - Static method in class io.github.astrapi69.crypt.data.key.KeyExtensions
-
Transform the given base64 encoded string to an encoded key as byte array value
- decodeHex(byte[]) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given byte array that contains the binary data decoded to a String object.
- decodeHex(char[]) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given array of characters representing hexadecimal values into an array of bytes.
- decodeHex(String) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Decode the given hexadecimal
String
object - decodeHexToString(char[]) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given array of characters representing hexadecimal values into a String object.
- deleteAlias(File, String, String) - Static method in class io.github.astrapi69.crypt.data.key.KeyStoreExtensions
-
Delete the given alias from the given keystore file.
E
- encodeHex(byte[]) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given array of bytes into an array of characters representing the hexadecimal values of each byte in order.
- encodeHex(byte[], boolean) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given array of bytes into an array of characters representing the hexadecimal values of each byte in order.
- encodeHex(String) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given String into an array of characters representing the hexadecimal values of each byte in order.
- encodeHex(String, Charset, boolean) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given plain
String
object into a hexadecimalString
object. - EncryptedPrivateKeyReader - Class in io.github.astrapi69.crypt.data.key.reader
-
The class
EncryptedPrivateKeyReader
is a utility class for reading encrypted private keys that are protected with a password. - EncryptedPrivateKeyWriter - Class in io.github.astrapi69.crypt.data.key.writer
-
The class
EncryptedPrivateKeyWriter
is a utility class for write and protectPrivateKey
objects with a password to files. - encryptPrivateKeyWithPassword(PrivateKey, File, String) - Static method in class io.github.astrapi69.crypt.data.key.writer.EncryptedPrivateKeyWriter
-
Encrypt the given
PrivateKey
with the given password and write the result to the givenFile
. - encryptPrivateKeyWithPassword(PrivateKey, OutputStream, String) - Static method in class io.github.astrapi69.crypt.data.key.writer.EncryptedPrivateKeyWriter
-
Encrypt the given
PrivateKey
with the given password and write the result to the givenOutputStream
. - encryptPrivateKeyWithPassword(PrivateKey, String) - Static method in class io.github.astrapi69.crypt.data.key.writer.EncryptedPrivateKeyWriter
-
Encrypt the given
PrivateKey
with the given password and return the resulted byte array. - END_CERTIFICATE_SUFFIX - Static variable in class io.github.astrapi69.crypt.data.key.reader.CertificateReader
-
The Constant END_CERTIFICATE_SUFFIX.
- END_PUBLIC_KEY_SUFFIX - Static variable in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
The Constant END_PUBLIC_KEY_SUFFIX.
- equals(Object) - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- equals(Object) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- equals(Object) - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- equals(Object) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- equals(Object) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- equals(Object) - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy
- equals(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.CharacterObfuscationOperationRule
- equals(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- equals(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- equals(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules
- equals(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules
- equals(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
F
- fromPKCS1ToPemFormat(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Transform the given byte array(of private key in PKCS#1 format) to a PEM formatted
String
.
G
- generatePublicKey(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Generate the corresponding
PublicKey
object from the givenPrivateKey
object. - getAlgorithm(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Get the standard algorithm name from the given
PrivateKey
- getAlgorithm(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
-
Get the standard algorithm name from the given
PublicKey
- getCharacter() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- getCharacter() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- getCommonName() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- getCountry(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the country value of the given
X509Certificate
. - getCountryCode() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- getData() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getEncoded(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Get the
X509Certificate
in its primary encoding format - getEncoded(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Get the
PrivateKey
in its primary encoding format, or null if this key does not support encoding - getEncoded(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
-
Get the
PublicKey
in its primary encoding format, or null if this key does not support encoding - getFingerprint(X509Certificate, HashAlgorithm) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the fingerprint from the given
X509Certificate
and the given algorithm. - getFirstValueOf(X509Certificate, ASN1ObjectIdentifier) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the first value of the given
X509Certificate
and the givenASN1ObjectIdentifier
. - getFormat(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Get the name of the primary encoding format from the given
PrivateKey
or null it does not support encoding - getFormat(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
-
Get the name of the primary encoding format from the given
PublicKey
or null it does not support encoding - getHash() - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- getHash() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getHash() - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- getIndexes() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- getIssuedBy(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the issued by value of the given
X509Certificate
. - getIssuedTo(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the issued to value of the given
X509Certificate
. - getIssuer() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- getKeyFormat(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Resolves the format of the given
File
. - getKeyLength(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Gets the key length of the given
PrivateKey
. - getKeyLength(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
-
Gets the key length of the given
PublicKey
. - getKeyPair(File, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.EncryptedPrivateKeyReader
-
Reads from the given
File
that contains the password protectedKeyPair
and returns it - getKeySize(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Gets the
KeySize
of the givenPrivateKey
or null if not found. - getLeadingZerosCount() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getLocality(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the locality value of the given
X509Certificate
. - getLocation() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- getMerkleRoot() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getMerkleRootHash(Queue<byte[]>, HashAlgorithm) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Gets the hash value of the given queue and the given algorithm.
- getName() - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- getNotAfter() - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy
- getNotBefore() - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy
- getObfuscationRules() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules
- getOperatedCharacter() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- getOperation() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- getOrganisation() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- getOrganisationUnit() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- getOrganization(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the organization value of the given
X509Certificate
. - getPasswordProtectedPrivateKey(byte[], String) - Static method in class io.github.astrapi69.crypt.data.key.writer.EncryptedPrivateKeyWriter
-
Gets the private key from the given encrypted byte array with the given password.
- getPemObject(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Gets the pem object.
- getPemObject(String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Gets the pem object from the given pem string
- getPemType(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Get the
PemType
the givenFile
object - getPemType(PemObject) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Get the
PemType
the givenPemObject
object - getPreviousBlockHash() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getPrivateKey(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Gets an
Optional
with the private key from the given file. - getPrivateKey(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Gets an
Optional
with the private key from the given file. - getPrivateKey(File, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.EncryptedPrivateKeyReader
-
Gets an
Optional
with the password protected private key from the given file. - getPublicKey() - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- getPublicKey() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- getReplaceWith() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- getReplaceWith() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- getRules() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
- getSenderHash() - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- getSerialNumber() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- getSignableData() - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- getSignature() - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- getSignatureAlgorithm() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- getSignatureAlgorithm(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the signature algorithm.
- getState() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- getSubject() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- getText() - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- getTimestamp() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getTimestamp() - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- getTransactions() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getTries() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getValidFrom(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the valid from of the given
X509Certificate
. - getValidUntil(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the valid until of the given
X509Certificate
. - getValitidy() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- getVersion() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- getX509v3Extensions() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
H
- hash(byte[], byte[], byte[], long, HashAlgorithm) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Calculates the hash value as byte array from the given fields
- hash(byte[], byte[], long, long, HashAlgorithm) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Calculates the hash value as byte array from the given fields
- hash(byte[], byte[], HashAlgorithm) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Calculates the hash value as byte array from the given fields
- hash(byte[], HashAlgorithm) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Hashes the given
byte
object with the given parameters. - hash(byte[], String, HashAlgorithm, Charset) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Hashes the given
byte
object with the given parameters. - hash(String, String, HashAlgorithm, Charset) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Hashes the given
String
object with the given parameters. - hashAndBase64(String, String, HashAlgorithm, Charset) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Hashes and encodes it with base64 from the given
String
object with the given parameters. - hashCode() - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- hashCode() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- hashCode() - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- hashCode() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- hashCode() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- hashCode() - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy
- hashCode() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.CharacterObfuscationOperationRule
- hashCode() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- hashCode() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- hashCode() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules
- hashCode() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules
- hashCode() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
- HashExtensions - Class in io.github.astrapi69.crypt.data.hash
-
The class
HashExtensions
. - HexExtensions - Class in io.github.astrapi69.crypt.data.hex
-
The class
HexExtensions
provides methods for encode and decode hex encoded byte or char arrays andString
objects.
I
- indexes(Set<Integer>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
- inverted(boolean) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
- io.github.astrapi69.crypt.data.algorithm - package io.github.astrapi69.crypt.data.algorithm
- io.github.astrapi69.crypt.data.blockchain - package io.github.astrapi69.crypt.data.blockchain
- io.github.astrapi69.crypt.data.certificate - package io.github.astrapi69.crypt.data.certificate
- io.github.astrapi69.crypt.data.factory - package io.github.astrapi69.crypt.data.factory
- io.github.astrapi69.crypt.data.hash - package io.github.astrapi69.crypt.data.hash
- io.github.astrapi69.crypt.data.hex - package io.github.astrapi69.crypt.data.hex
- io.github.astrapi69.crypt.data.key - package io.github.astrapi69.crypt.data.key
- io.github.astrapi69.crypt.data.key.reader - package io.github.astrapi69.crypt.data.key.reader
- io.github.astrapi69.crypt.data.key.writer - package io.github.astrapi69.crypt.data.key.writer
- io.github.astrapi69.crypt.data.model - package io.github.astrapi69.crypt.data.model
- io.github.astrapi69.crypt.data.obfuscation.rule - package io.github.astrapi69.crypt.data.obfuscation.rule
- io.github.astrapi69.crypt.data.obfuscation.rules - package io.github.astrapi69.crypt.data.obfuscation.rules
- isInverted() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- isPemFormat(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Checks if the given
File
is in pem format. - isPemObject(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Checks if the given File contains a pem object
- isPrivateKeyPasswordProtected(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Checks if the given
File
is password protected - issuer(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo.CertificateInfoBuilder
K
- KeyExtensions - Class in io.github.astrapi69.crypt.data.key
-
The class
PublicKeyExtensions
- KeyModel - Class in io.github.astrapi69.crypt.data.model
- KeyModel() - Constructor for class io.github.astrapi69.crypt.data.model.KeyModel
- KeyPairFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
KeyPairFactory
holds methods for creatingKeyPair
objects. - KeySpecFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
KeySpecFactory
holds methods for creatingKeySpec
objects. - KeyStoreExtensions - Class in io.github.astrapi69.crypt.data.key
-
The class
KeyStoreExtensions
. - KeyStoreFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
KeyStoreFactory
holds methods for creatingKeyStore
objects. - KeyWriter - Class in io.github.astrapi69.crypt.data.key.writer
-
The class
KeyWriter
is a utility class for write security keys in files.
L
- loadKeyStore(File, String, String) - Static method in class io.github.astrapi69.crypt.data.factory.KeyStoreFactory
-
Factory method for create a new
KeyStore
object loaded from an existingKeyStore
object from the given file. - location(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes.CertificateAttributesBuilder
N
- name() - Method in class io.github.astrapi69.crypt.data.algorithm.CryptoAlgorithm
-
Gets the name of this algorithm
- newAlgorithm(String) - Static method in class io.github.astrapi69.crypt.data.algorithm.CryptoAlgorithm
-
Factory method for creating a new
Algorithm
from the given string algorithm - newCipher(int, SecretKey, AlgorithmParameterSpec, String) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new
Cipher
from the given parameters. - newCipher(CryptModel<Cipher, String, String>) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new
Cipher
from the given parameters. - newCipher(String) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new
Cipher
from the given algorithm. - newCipher(String, String) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new
Cipher
from the given algorithm and provider. - newCipher(String, String, byte[], int, int) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new
Cipher
from the given parameters. - newCryptModel(Algorithm, String) - Static method in class io.github.astrapi69.crypt.data.factory.CryptModelFactory
-
Factory method for create a new
CryptModel
from the givenAlgorithm
and the given key asString
object. - newCryptModel(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.factory.CryptModelFactory
-
Factory method for create a new
CryptModel
from the givenPrivateKey
- newCryptModel(PublicKey) - Static method in class io.github.astrapi69.crypt.data.factory.CryptModelFactory
-
Factory method for create a new
CryptModel
from the givenPublicKey
- newEndEntityX509CertificateV3(KeyPair, X500Name, BigInteger, Date, Date, X500Name, String, X509Certificate) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new intermediate
X509Certificate
object of version 3 of X.509 from the given parameters that can be used as an end entity certificate. - newIntermediateX509CertificateV3(KeyPair, X500Name, BigInteger, Date, Date, X500Name, String, X509Certificate) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new intermediate
X509Certificate
object of version 3 of X.509 from the given parameters that can be used to sign other certificates. - newKeyPair(Algorithm, int) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given algorithm and key size. - newKeyPair(Algorithm, KeySize) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given algorithm andKeySize
- newKeyPair(File, File) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given parameters. - newKeyPair(String, int) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given parameters. - newKeyPair(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given private key - newKeyPair(PublicKey, PrivateKey) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given parameters. - newKeyPairGenerator(String, int) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPairGenerator
from the given parameters. - newKeyPairGenerator(String, int, SecureRandom) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPairGenerator
from the given parameters. - newKeyStore(File, String, String) - Static method in class io.github.astrapi69.crypt.data.factory.KeyStoreFactory
-
Factory method for create a new empty
KeyStore
object and save it to the given file with the given parameters. - newKeyStore(String, String, File) - Static method in class io.github.astrapi69.crypt.data.factory.KeyStoreFactory
-
Deprecated.use instead the method
loadKeyStore
Note: will be removed in the next minor version - newKeyStore(String, String, File, boolean) - Static method in class io.github.astrapi69.crypt.data.factory.KeyStoreFactory
-
Factory method for create a new empty
KeyStore
object and save it to the given file with the given parameters or load an existingKeyStore
object from the given file. - newPBECipher(char[], int, String) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new PBE
Cipher
from the given parameters. - newPBECipher(char[], int, String, byte[], int) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new PBE
Cipher
from the given parameters. - newPBECipher(String, String, byte[], int, int) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new PBE
Cipher
from the given parameters. - newPBEKeySpec(String) - Static method in class io.github.astrapi69.crypt.data.factory.KeySpecFactory
-
Factory method for creating a new
PBEKeySpec
from the given private key. - newPBEKeySpec(String, byte[], int) - Static method in class io.github.astrapi69.crypt.data.factory.KeySpecFactory
-
Factory method for creating a new
PBEKeySpec
from the given private key. - newPBEParameterSpec(byte[], int) - Static method in class io.github.astrapi69.crypt.data.factory.AlgorithmParameterSpecFactory
-
Factory method for creating a new
PBEParameterSpec
from the given salt and iteration count. - newPins(List<LocalDate>, List<String>) - Static method in class io.github.astrapi69.crypt.data.factory.PinFactory
- newSecretKey(byte[], String) - Static method in class io.github.astrapi69.crypt.data.factory.SecretKeyFactoryExtensions
-
Factory method for creating a new symmetric
SecretKey
from the given algorithm and the given key length. - newSecretKey(char[], String) - Static method in class io.github.astrapi69.crypt.data.factory.SecretKeyFactoryExtensions
-
Factory method for creating a new
SecretKey
from the given password and algorithm. - newSecretKey(String, int) - Static method in class io.github.astrapi69.crypt.data.factory.SecretKeyFactoryExtensions
-
Factory method for creating a new symmetric
SecretKey
from the given algorithm and the given key length. - newSecretKeyFactory(String) - Static method in class io.github.astrapi69.crypt.data.factory.SecretKeyFactoryExtensions
-
Factory method for creating a new
SecretKeyFactory
from the given algorithm. - newSecretKeySpec(byte[], String) - Static method in class io.github.astrapi69.crypt.data.factory.SecretKeyFactoryExtensions
-
Factory method for creating a new
SecretKeySpec
from the given algorithm and the given secret key as byte array. - newSecretKeySpec(String, int) - Static method in class io.github.astrapi69.crypt.data.factory.SecretKeyFactoryExtensions
-
Factory method for creating a new
SecretKeySpec
from the given algorithm and the given key length. - newX509Certificate(String, byte[]) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new
X509Certificate
from the given certificate type and certificate data as byte array. - newX509Certificate(PublicKey, PrivateKey, BigInteger, String, String, String, Date, Date) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating an initial new
X509Certificate
object of version 3 of type X.509 from the given parameters without an existing certificate. - newX509CertificateV1(KeyPair, X500Name, BigInteger, Date, Date, X500Name, String) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new
X509Certificate
object of the first version of X.509 from the given parameters. - newX509CertificateV3(KeyPair, X500Name, BigInteger, Date, Date, X500Name, String, Extension...) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new intermediate
X509Certificate
object of version 3 of X.509 from the given parameters that can be used as an end entity certificate. - newX509v1CertificateBuilder(X500Name, BigInteger, Date, Date, X500Name, PublicKey) - Static method in class io.github.astrapi69.crypt.data.factory.CertificateBuilderFactory
-
Factory method for creating a new
X509v1CertificateBuilder
object of version 1 of X.509 from the given parameters. - newX509v3CertificateBuilder(X500Name, BigInteger, Date, Date, X500Name, PublicKey) - Static method in class io.github.astrapi69.crypt.data.factory.CertificateBuilderFactory
-
Factory method for creating a new
X509v3CertificateBuilder
object of version 3 of X.509 from the given parameters. - newX509v3CertificateBuilder(X500Name, BigInteger, Date, Date, X500Name, SubjectPublicKeyInfo) - Static method in class io.github.astrapi69.crypt.data.factory.CertificateBuilderFactory
-
Factory method for creating a new
X509v3CertificateBuilder
object of version 3 of X.509 from the given parameters. - notAfter(ZonedDateTime) - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy.ValitidyBuilder
- notBefore(ZonedDateTime) - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy.ValitidyBuilder
O
- ObfuscationBiMapRules<K,V> - Class in io.github.astrapi69.crypt.data.obfuscation.rules
-
The class
ObfuscationBiMapRules
decorates aBiMap
that defines rules for encrypt and decrypt given strings. - ObfuscationBiMapRules(BiMap<K, V>) - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules
-
Instantiates a new
ObfuscationBiMapRules
. - ObfuscationBiMapRules.ObfuscationBiMapRulesBuilder<K,V> - Class in io.github.astrapi69.crypt.data.obfuscation.rules
- ObfuscationOperationRule<C,RW> - Class in io.github.astrapi69.crypt.data.obfuscation.rule
-
The class
ObfuscationOperationRule
builds a complex rule for obfuscating a single character. - ObfuscationOperationRule() - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- ObfuscationOperationRule(C, Set<Integer>, boolean, Optional<C>, Operation, RW) - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- ObfuscationOperationRule.ObfuscationOperationRuleBuilder<C,RW> - Class in io.github.astrapi69.crypt.data.obfuscation.rule
- ObfuscationOperationRuleComparator - Class in io.github.astrapi69.crypt.data.obfuscation.rule
-
The class
ObfuscationOperationRuleComparator
can compareObfuscationOperationRule
objects - ObfuscationOperationRuleComparator() - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRuleComparator
- ObfuscationRule<C,RW> - Class in io.github.astrapi69.crypt.data.obfuscation.rule
- ObfuscationRule() - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- ObfuscationRule(C, RW) - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- ObfuscationRule.ObfuscationRuleBuilder<C,RW> - Class in io.github.astrapi69.crypt.data.obfuscation.rule
- obfuscationRules(BiMap<Character, Character>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules.CharacterObfuscationRulesBuilder
- obfuscationRules(BiMap<K, V>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules.ObfuscationBiMapRulesBuilder
- ObfuscationRules<C,RW> - Class in io.github.astrapi69.crypt.data.obfuscation.rules
-
The class
ObfuscationRules
holds a list of obfuscation rules that will be processed with an Obfusactor implementation. - ObfuscationRules() - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
- ObfuscationRules(List<ObfuscationRule<C, RW>>) - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
- ObfuscationRules.ObfuscationRulesBuilder<C,RW> - Class in io.github.astrapi69.crypt.data.obfuscation.rules
- of(K) - Static method in class io.github.astrapi69.crypt.data.model.CryptModel
-
Factory method for create a new
CryptModel
from the given key - operatedCharacter(Optional<C>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
- operation(Operation) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
- organisation(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes.CertificateAttributesBuilder
- organisationUnit(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes.CertificateAttributesBuilder
P
- PemKeyModel - Class in io.github.astrapi69.crypt.data.model
- PemKeyModel() - Constructor for class io.github.astrapi69.crypt.data.model.PemKeyModel
- PemObjectReader - Class in io.github.astrapi69.crypt.data.key.reader
-
The class
PemObjectReader
is a utility class for readingPemObject
from a file. - PinFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
PinFactory
holds methods for creating list of possible pins - PrivateKeyExtensions - Class in io.github.astrapi69.crypt.data.key
-
The class
PrivateKeyExtensions
. - PrivateKeyReader - Class in io.github.astrapi69.crypt.data.key.reader
-
The class
PrivateKeyReader
is a utility class for reading private keys in *.der or *.pem format. - PrivateKeyWriter - Class in io.github.astrapi69.crypt.data.key.writer
-
The class
PrivateKeyWriter
is a utility class for write public keys in files or streams. - publicKey(PublicKey) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo.CertificateInfoBuilder
- PublicKeyExtensions - Class in io.github.astrapi69.crypt.data.key
-
The class
PublicKeyExtensions
- PublicKeyReader - Class in io.github.astrapi69.crypt.data.key.reader
-
The class
PublicKeyReader
is a utility class for reading public keys. - PublicKeyWriter - Class in io.github.astrapi69.crypt.data.key.writer
-
The class
PublicKeyWriter
is a utility class for write public keys in files or streams.
R
- readCertificate(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.reader.CertificateReader
-
Reads the given byte array and tries to create a
X509Certificate
object. - readCertificate(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.CertificateReader
-
Reads the given file in *.der format and tries to create a
X509Certificate
object. - readPasswordProtectedPrivateKey(byte[], String, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.EncryptedPrivateKeyReader
-
Reads the given byte array that contains a password protected private key.
- readPasswordProtectedPrivateKey(File, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.EncryptedPrivateKeyReader
-
Reads the given
File
that contains a password protected private key, if fails null will be returned. - readPasswordProtectedPrivateKey(File, String, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.EncryptedPrivateKeyReader
-
Reads from the given
File
that contains the password protected private key and returns it - readPemCertificate(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.CertificateReader
-
Read pem certificate.
- readPemFileAsBase64(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.CertificateReader
-
Read the certificate from a pem file as base64 encoded
String
value. - readPemFileAsBase64(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Read the private key from a pem file as base64 encoded
String
value. - readPemFileAsBase64(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
Read the public key from a pem file as base64 encoded
String
value. - readPemKeyObject(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Reads the given
File
( in *.pem format) that contains a key in pem format - readPemPrivateKey(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Reads the given
File
( in *.pem format) that contains private key. - readPemPrivateKey(File, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Reads the given
File
( in *.pem format) that contains a password protected private key. - readPemPrivateKey(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
File
( in *.pem format) with the default RSA algorithm and returns thePrivateKey
object. - readPemPrivateKey(File, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
File
( in *.pem format) with given algorithm and returns thePrivateKey
object. - readPemPrivateKey(String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
String
( in *.pem format) with given algorithm and returns thePrivateKey
object with the default RSA algorithm - readPemPrivateKey(String, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
String
( in *.pem format) with given algorithm and returns thePrivateKey
object. - readPemPublicKey(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
reads a public key from a file.
- readPrivateKey(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given byte array with the default RSA algorithm and returns the
PrivateKey
object. - readPrivateKey(byte[], String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given byte array with the given algorithm and returns the
PrivateKey
object. - readPrivateKey(File, Algorithm) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Reads the given
File
( in *.pem format) that contains private key. - readPrivateKey(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
File
with the default RSA algorithm and returns thePrivateKey
object. - readPrivateKey(File, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
File
( in *.der format) with the given algorithm and returns thePrivateKey
object. - readPrivateKey(File, String, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Constructs from the given root, parent directory and file name the file and reads the private key.
- readPrivateKey(PemObject, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
PemObject
with given algorithm and returns thePrivateKey
object. - readPublicKey(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
Read public key.
- readPublicKey(byte[], String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
Read public key.
- readPublicKey(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
Read public key.
- readPublicKey(PemObject, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
Reads the given
PemObject
with given algorithm and returns thePublicKey
object - replaceWith(RW) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
- replaceWith(RW) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule.ObfuscationRuleBuilder
- rule(ObfuscationRule<C, RW>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules.ObfuscationRulesBuilder
- rules(Collection<? extends ObfuscationRule<C, RW>>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules.ObfuscationRulesBuilder
- rulesBuilder() - Static method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules
S
- SecretKeyFactoryExtensions - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
SecretKeyFactoryExtensions
holds methods for creatingSecretKeySpec
objects. - self() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes.CertificateAttributesBuilder
- self() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo.CertificateInfoBuilder
- self() - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy.ValitidyBuilder
- serialNumber(BigInteger) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo.CertificateInfoBuilder
- setCharacter(C) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- setCharacter(C) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- setCommonName(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- setCountryCode(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- setData(String) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- setHash(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- setHash(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- setHash(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- setIndexes(Set<Integer>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- setInverted(boolean) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- setIssuer(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- setLocation(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- setMerkleRoot(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- setName(String) - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- setNotAfter(ZonedDateTime) - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy
- setNotBefore(ZonedDateTime) - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy
- setOperatedCharacter(Optional<C>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- setOperation(Operation) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- setOrganisation(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- setOrganisationUnit(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- setPreviousBlockHash(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- setPublicKey(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- setPublicKey(PublicKey) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- setReplaceWith(RW) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- setReplaceWith(RW) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- setRules(List<ObfuscationRule<C, RW>>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
- setSenderHash(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- setSerialNumber(BigInteger) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- setSignature(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- setSignatureAlgorithm(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- setState(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- setSubject(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- setText(String) - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- setTimestamp(long) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- setTimestamp(long) - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- setTransactions(List<ITransaction>) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- setTries(long) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- setValitidy(Valitidy) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- setVersion(int) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- setX509v3Extensions(Map<String, String>) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- signatureAlgorithm(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo.CertificateInfoBuilder
- state(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes.CertificateAttributesBuilder
- subject(String) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo.CertificateInfoBuilder
T
- toBase64(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.KeyExtensions
-
Transform the given encoded key as byte array to a base64 encoded
String
value - toBase64(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Transforms the given
X509Certificate
object to a base64String
object - toBase64(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Transform the given
PrivateKey
to a base64 encodedString
value. - toBase64(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
-
Transform the given
PublicKey
to a base64 encodedString
value. - toBase64Binary(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.KeyExtensions
-
Transform the given encoded key as byte array to a base64 binary encoded
String
value - toBase64Binary(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Transform the given
PrivateKey
to a base64 encodedString
value. - toBuilder() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- toBuilder() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- toBuilder() - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy
- toBuilder() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- toBuilder() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- toBuilder() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
- toDer(PemObject) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Transform the given
PemObject
object in to a byte array in the der format. - toHex(int) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given
int
to a hexadecimal value. - toHex(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Transforms the given
X509Certificate
object to a hexadecimalString
object - toHexString(byte[]) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given
byte array
to a hexadecimalString
value. - toHexString(byte[], boolean) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given
byte array
to a hexadecimalString
value. - toHexString(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Transform the given
PrivateKey
to a hexadecimalString
value. - toHexString(PrivateKey, boolean) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Transform the given
PrivateKey
to a hexadecimalString
value. - toHexString(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
-
Transform the given
PublicKey
to a hexadecimalString
value. - toHexString(PublicKey, boolean) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
-
Transform the given
PublicKey
to a hexadecimalString
value. - toPemFile(PublicKey, File) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
-
Write the given
PublicKey
into the givenFile
. - toPemFormat(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Transform the given key
File
object in pem formatString
object - toPemFormat(PemObject) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Transform the given
PemObject
object in pem formatString
object. - toPemFormat(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Transform the given private key that is in PKCS1 format and returns a
String
object in pem format. - toPemFormat(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
-
Transform the public key in pem format.
- toPKCS1Format(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Transform the given private key to PKCS#1 format and returns it as an byte array
- toRepresentableString() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- toString() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes.CertificateAttributesBuilder
- toString() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateAttributes
- toString() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo.CertificateInfoBuilder
- toString() - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo
- toString() - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy
- toString() - Method in class io.github.astrapi69.crypt.data.certificate.Valitidy.ValitidyBuilder
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.CharacterObfuscationOperationRule
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule.ObfuscationRuleBuilder
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules.CharacterObfuscationRulesBuilder
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules.ObfuscationBiMapRulesBuilder
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules.ObfuscationRulesBuilder
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
- Transaction - Class in io.github.astrapi69.crypt.data.blockchain
-
The class
Transaction
- Transaction() - Constructor for class io.github.astrapi69.crypt.data.blockchain.Transaction
- Transaction(String, byte[], byte[]) - Constructor for class io.github.astrapi69.crypt.data.blockchain.Transaction
V
- validatePrivateKey(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Checks if the given
File
is a valid private key file - valitidy(Valitidy) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo.CertificateInfoBuilder
- Valitidy - Class in io.github.astrapi69.crypt.data.certificate
-
Use only ZoneId.of("UTC") for the values
- Valitidy() - Constructor for class io.github.astrapi69.crypt.data.certificate.Valitidy
- Valitidy(Valitidy.ValitidyBuilder<?, ?>) - Constructor for class io.github.astrapi69.crypt.data.certificate.Valitidy
- Valitidy(ZonedDateTime, ZonedDateTime) - Constructor for class io.github.astrapi69.crypt.data.certificate.Valitidy
- Valitidy.ValitidyBuilder<C extends Valitidy,B extends Valitidy.ValitidyBuilder<C,B>> - Class in io.github.astrapi69.crypt.data.certificate
- ValitidyBuilder() - Constructor for class io.github.astrapi69.crypt.data.certificate.Valitidy.ValitidyBuilder
- version(int) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo.CertificateInfoBuilder
W
- write(X509Certificate, File, KeyFileFormat) - Static method in class io.github.astrapi69.crypt.data.key.writer.CertificateWriter
-
Write the given
X509Certificate
into the givenFile
in the givenKeyFileFormat
format. - write(X509Certificate, OutputStream, KeyFileFormat) - Static method in class io.github.astrapi69.crypt.data.key.writer.CertificateWriter
-
Write the given
X509Certificate
into the givenOutputStream
in the givenKeyFileFormat
format. - write(PrivateKey, File) - Static method in class io.github.astrapi69.crypt.data.key.writer.PrivateKeyWriter
-
Write the given
PrivateKey
into the givenFile
in the *.der format. - write(PrivateKey, OutputStream) - Static method in class io.github.astrapi69.crypt.data.key.writer.PrivateKeyWriter
-
Write the given
PrivateKey
into the givenOutputStream
in the *.der format. - write(PrivateKey, OutputStream, KeyFileFormat, KeyFormat) - Static method in class io.github.astrapi69.crypt.data.key.writer.PrivateKeyWriter
-
Write the given
PrivateKey
into the givenOutputStream
in the given formats. - write(PublicKey, File) - Static method in class io.github.astrapi69.crypt.data.key.writer.PublicKeyWriter
-
Write the given
PublicKey
into the givenFile
. - write(PublicKey, OutputStream) - Static method in class io.github.astrapi69.crypt.data.key.writer.PublicKeyWriter
-
Write the given
PublicKey
into the givenOutputStream
. - writeInDerFormat(X509Certificate, File) - Static method in class io.github.astrapi69.crypt.data.key.writer.CertificateWriter
-
Write the given
X509Certificate
into the givenFile
in the *.der format. - writeInDerFormat(X509Certificate, OutputStream) - Static method in class io.github.astrapi69.crypt.data.key.writer.CertificateWriter
-
Write the given
X509Certificate
into the givenOutputStream
in the *.pem format. - writeInPemFormat(X509Certificate, File) - Static method in class io.github.astrapi69.crypt.data.key.writer.CertificateWriter
-
Write the given
X509Certificate
into the givenFile
in the *.pem format. - writeInPemFormat(X509Certificate, OutputStream) - Static method in class io.github.astrapi69.crypt.data.key.writer.CertificateWriter
-
Write the given
X509Certificate
into the givenOutputStream
in the *.pem format. - writeInPemFormat(Key, File) - Static method in class io.github.astrapi69.crypt.data.key.writer.KeyWriter
-
Write the given
Key
into the givenFile
. - writeInPemFormat(PrivateKey, File) - Static method in class io.github.astrapi69.crypt.data.key.writer.PrivateKeyWriter
-
Write the given
PrivateKey
into the givenFile
. - writeInPemFormat(PublicKey, File) - Static method in class io.github.astrapi69.crypt.data.key.writer.PublicKeyWriter
-
Write the given
PublicKey
into the givenFile
.
X
- x509v3Extensions(Map<String, String>) - Method in class io.github.astrapi69.crypt.data.certificate.CertificateInfo.CertificateInfoBuilder
All Classes All Packages