Rsa
RSA Public key
Types
Properties
This is meant for storing additional properties, which may be relevant for certain use cases. For example, Json Web Keys or Cose Keys may define an arbitrary key IDs. This is not meant for Algorithm parameters! If an algorithm needs parameters, the implementing classes should be extended
RSA key size
Returns did:key:$MULTIBASE_ENCODING_IDENTIFIER$MULTICODEC_ALGORITHM_IDENTIFIER$BYTES
with all bytes after MULTIBASE_ENCODING_IDENTIFIER in the assigned encoding. The Multicodec identifier for RSA is 0x1205
and the key bytes are represented as PKCS#1 encoding.
Representation of the key in the format used by iOS, EC compression is used if key was compressed on reception
modulus
PKCS#1 encoded RSA Public Key
Functions
Convenience function to directly get the DER-encoded representation of the implementing object
Exception-free version of encodeToDer
Safe version of encodeToDer, wrapping the result into a KmmResult
Encodes the implementing object into an A
Exception-free version of encodeToTlv
Safe version of encodeToTlv, wrapping the result into a KmmResult
Alias of equals provided for convenience (and alignment with SpecializedCryptoPublicKey)
Whether the actual underlying key (irrespective of any format-specific metadata) is equal