Package-level declarations
Types
PKCS#8 Representation of a private key structure as per RFC 5208 Equality checks are performed wrt. cryptographic properties.
Representation of a public key structure
Interface which holds Asn1 Encoding of a signature of a specified algorithm Allows simple ASN1 - Raw transformation of signature values
EC Curve Class jwkName really does use established JWK curve names
Representation of an encrypted private key structure as per RFC 5208
Properties
Returns the length of a private key, when it is exported from iOS. This is handy, because Apple does not encode curve identifiers, but implies them based on the length of the key
Returns the length of a public key, when it is exported from iOS. This is handy, because Apple does not encode curve identifiers, but implies them based on the length of the key
In Java EC signatures are returned as DER-encoded, RSA signatures however are raw bytearrays
A digest well-suited to operations on this curve, with output length near the curve's coordinate length.
Functions
Alias of equals provided for convenience (and alignment with SpecializedCryptoPublicKey)
Whether the actual underlying key (irrespective of any format-specific metadata) is equal
Returns the curve associated with a public key exported from iOS based on the length of the key material This is handy, because Apple does not encode curve identifiers, but implies them based on the length of the key
Returns the curve associated with a public key exported from iOS based on the length of the key material This is handy, because Apple does not encode curve identifiers, but implies them based on the length of the key
Get a pre-configured JCA instance for this algorithm
Get a pre-configured JCA instance for pre-hashed data for this algorithm
Parses a signature produced by the JCA digestwithECDSA algorithm.
In Java EC signatures are returned as DER-encoded, RSA signatures however are raw bytearrays
Parses a signature produced by the JCA digestWithECDSAinP1363Format algorithm.
Converts this X509Certificate to a java.security.cert.X509Certificate. This function is suspending, because it uses a mutex to lock the underlying certificate factory (which is reused for performance reasons
blocking implementation of toJcaCertificate
Converts this java.security.cert.X509Certificate to an X509Certificate
Converts this privateKey into a SecKeyRef, making it usable on iOS
Finds a X.509 signature algorithm matching this algorithm. Curve restrictions are not preserved.