智能客服
你问我答,随时在线为你解决问题

























您当前正在浏览HarmonyOS开发者3.0版本配套的开发者文档,对应API能力级别为API 8 Release。此版本文档已归档不再维护,推荐您使用HarmonyOS NEXT版本。
A key specification is a transparent representation of the key material that constitutes a key. A key may be specified in an algorithm-specific way, or in an algorithm-independent encoding format (such as ASN.1). This package contains key specifications for DSA public and private keys, RSA public and private keys, PKCS #8 private keys in DER-encoded format, and X.509 public and private keys in DER-encoded format.
An algorithm parameter specification is a transparent representation of the sets of parameters used with an algorithm. This package contains an algorithm parameter specification for parameters used with the DSA algorithm.
Package SpecificationSince:
1.2Interface | Description |
|---|---|
A (transparent) specification of cryptographic parameters. | |
This interface represents an elliptic curve (EC) finite field. | |
A (transparent) specification of the key material that constitutes a cryptographic key. |
Class | Description |
|---|---|
This class specifies the set of parameters used with the DSA algorithm. | |
This class specifies a DSA private key with its associated parameters. | |
This class specifies a DSA public key with its associated parameters. | |
This immutable class defines an elliptic curve (EC) characteristic 2 finite field. | |
This immutable class defines an elliptic curve (EC) prime finite field. | |
This immutable class specifies the set of parameters used for generating elliptic curve (EC) domain parameters. | |
This immutable class specifies the set of domain parameters used with elliptic curve cryptography (ECC). | |
This immutable class represents a point on an elliptic curve (EC) in affine coordinates. | |
This immutable class specifies an elliptic curve private key with its associated parameters. | |
This immutable class specifies an elliptic curve public key with its associated parameters. | |
This immutable class holds the necessary values needed to represent an elliptic curve. | |
This class represents a public or private key in encoded format. | |
This class specifies the set of parameters used with mask generation function MGF1 in OAEP Padding and RSASSA-PSS signature scheme, as defined in the PKCS#1 v2.2 standard. | |
This class represents the ASN.1 encoding of a private key, encoded according to the ASN.1 type PrivateKeyInfo. | |
This class specifies a parameter spec for RSASSA-PSS signature scheme, as defined in the PKCS#1 v2.2 standard. | |
This class specifies the set of parameters used to generate an RSA key pair. | |
This class specifies an RSA multi-prime private key, as defined in the PKCS#1 v2.2 standard using the Chinese Remainder Theorem (CRT) information values for efficiency. | |
This class represents the triplet (prime, exponent, and coefficient) inside RSA's OtherPrimeInfo structure, as defined in the PKCS#1 v2.2 standard. | |
This class specifies an RSA private key, as defined in the PKCS#1 v2.2 standard, using the Chinese Remainder Theorem (CRT) information values for efficiency. | |
This class specifies an RSA private key. | |
This class specifies an RSA public key. | |
This class represents the ASN.1 encoding of a public key, encoded according to the ASN.1 type SubjectPublicKeyInfo. |
Exception | Description |
|---|---|
This is the exception for invalid key specifications. | |
This is the exception for invalid parameter specifications. |
智能客服
你问我答,随时在线为你解决问题
合作咨询
我们的专家服务团队将竭诚为您提供专业的合作咨询服务
解决方案
精准高效的一站式服务支持,助力开发者商业成功