| Modifier and Type | Field and Description |
|---|---|
| private static Map | |
| private static final AlgorithmIdentifier | |
| private static final AlgorithmIdentifier | |
| private static final AlgorithmIdentifier | |
| private static final AlgorithmIdentifier | |
| private static final AlgorithmIdentifier | |
| private static final AlgorithmIdentifier | |
| private static final AlgorithmIdentifier | |
| private JcaJceHelper | |
| private static final AlgorithmIdentifier | |
| private static final AlgorithmIdentifier | |
| private static final AlgorithmIdentifier | |
| private static Map | |
| private static final AlgorithmIdentifier |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Key | engineTranslateKey(Key
the key whose provider is unknown or untrusted. key)Implements abstract java. Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory. |
| public PrivateKey | Returns: A CompositePrivateKey created from all components in the sequence.PrivateKeyInfo containing a sequence of PrivateKeyInfos corresponding to each component. keyInfo)Implements org. Creates a CompositePrivateKey from its PrivateKeyInfo encoded form. |
| public PublicKey | generatePublic(SubjectPublicKeyInfo
SubjectPublicKeyInfo containing a sequence of BIT STRINGs corresponding to each component. keyInfo)Implements org. Creates a CompositePublicKey from its SubjectPublicKeyInfo encoded form. |
| private List | Returns: A list of KeyFactories ordered by the composite signature definition.OID of a composite signature. algorithmIdentifier)A helper method that returns a list of KeyFactory objects based on the composite signature OID. |
| private X509EncodedKeySpec[] | Returns: An array of X509EncodedKeySpecsOID of a composite signature. algorithmIdentifier, ASN1BitString[] A BIT STRING array containing encoded component SubjectPublicKeyInfos. subjectPublicKeys)A helper method that returns an array of X509EncodedKeySpecs based on the composite signature OID and the content of provided BIT STRINGs in subjectPublicKeys |
| pack-priv byte[][] |
| componentKeySizes | back to summary |
|---|---|
| private static Map<ASN1ObjectIdentifier, int[]> componentKeySizes | |
| ecDsaBrainpoolP256r1 | back to summary |
|---|---|
| private static final AlgorithmIdentifier ecDsaBrainpoolP256r1 | |
| ecDsaBrainpoolP384r1 | back to summary |
|---|---|
| private static final AlgorithmIdentifier ecDsaBrainpoolP384r1 | |
| ecDsaP256 | back to summary |
|---|---|
| private static final AlgorithmIdentifier ecDsaP256 | |
| ecDsaP384 | back to summary |
|---|---|
| private static final AlgorithmIdentifier ecDsaP384 | |
| ed25519 | back to summary |
|---|---|
| private static final AlgorithmIdentifier ed25519 | |
| ed448 | back to summary |
|---|---|
| private static final AlgorithmIdentifier ed448 | |
| falcon512Identifier | back to summary |
|---|---|
| private static final AlgorithmIdentifier falcon512Identifier | |
| helper | back to summary |
|---|---|
| private JcaJceHelper helper | |
| mlDsa44 | back to summary |
|---|---|
| private static final AlgorithmIdentifier mlDsa44 | |
| mlDsa65 | back to summary |
|---|---|
| private static final AlgorithmIdentifier mlDsa65 | |
| mlDsa87 | back to summary |
|---|---|
| private static final AlgorithmIdentifier mlDsa87 | |
| pairings | back to summary |
|---|---|
| private static Map<ASN1ObjectIdentifier, AlgorithmIdentifier[]> pairings | |
| rsa | back to summary |
|---|---|
| private static final AlgorithmIdentifier rsa | |
| KeyFactorySpi | back to summary |
|---|---|
| public KeyFactorySpi() | |
| KeyFactorySpi | back to summary |
|---|---|
| public KeyFactorySpi(JcaJceHelper helper) | |
| engineTranslateKey | back to summary |
|---|---|
| protected Key engineTranslateKey(Key key) throws InvalidKeyException Implements abstract java. Doc from java. Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
| |
| generatePrivate | back to summary |
|---|---|
| public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws IOException Implements org. Creates a CompositePrivateKey from its PrivateKeyInfo encoded form. It is compliant with https://www.ietf.org/archive/id/draft-ounsworth-pq-composite-sigs-13.html where CompositeSignaturePrivateKey is a sequence of two OneAsymmetricKey which a newer name for PrivateKeyInfo.
| |
| generatePublic | back to summary |
|---|---|
| public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws IOException Implements org. Creates a CompositePublicKey from its SubjectPublicKeyInfo encoded form. It is compliant with https://www.ietf.org/archive/id/draft-ounsworth-pq-composite-sigs-13.html where CompositeSignaturePublicKey is a sequence of two BIT STRINGs which contain the encoded component public keys. In BC implementation - CompositePublicKey is encoded into a BIT STRING in the form of SubjectPublicKeyInfo.
| |
| getKeyFactoriesFromIdentifier | back to summary |
|---|---|
| private List A helper method that returns a list of KeyFactory objects based on the composite signature OID.
| |
| getKeysSpecs | back to summary |
|---|---|
| private X509EncodedKeySpec[] getKeysSpecs(ASN1ObjectIdentifier algorithmIdentifier, ASN1BitString[] subjectPublicKeys) throws IOException A helper method that returns an array of X509EncodedKeySpecs based on the composite signature OID and the content of provided BIT STRINGs in subjectPublicKeys
| |
| split | back to summary |
|---|---|
| pack-priv byte[][] split(ASN1ObjectIdentifier algorithm, ASN1BitString publicKeyData) | |