| Modifier and Type | Field and Description |
|---|---|
| private transient ASN1Set | |
| private transient XMSSPrivateKeyParameters | keyParams
References Deprecated
XMSSPrivateKeyParameters is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final long | |
| private transient ASN1ObjectIdentifier |
| Access | Constructor and Description |
|---|---|
| public | BCXMSSPrivateKey(ASN1ObjectIdentifier treeDigest, XMSSPrivateKeyParameters keyParams)
References Deprecated
XMSSPrivateKeyParameters is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public XMSSPrivateKey | extractKeyShard(int
the number of usages the key should have. usageCount)Implements org. Return a key representing a shard of the key space that can be used usageCount times. |
| public String | getAlgorithm()
Implements java. Returns the standard algorithm name for this key. |
| public byte[] | getEncoded()
Implements java. Returns the key in its primary encoding format, or |
| public String | getFormat()
Implements java. Returns the name of the primary encoding format of this key,
or |
| public int | |
| public long | getIndex()
Implements org. Return the index of the next signature. |
| pack-priv CipherParameters | |
| public String | |
| pack-priv ASN1ObjectIdentifier | |
| public long | getUsagesRemaining()
Implements org. Return the number of usages left for the private key. |
| public int | |
| private void | |
| private void | |
| private void |
| attributes | back to summary |
|---|---|
| private transient ASN1Set attributes | |
| keyParams | back to summary |
|---|---|
| private transient XMSSPrivateKeyParameters keyParams
References Deprecated
See corresponding docs for further information. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| treeDigest | back to summary |
|---|---|
| private transient ASN1ObjectIdentifier treeDigest | |
| BCXMSSPrivateKey | back to summary |
|---|---|
| public BCXMSSPrivateKey(ASN1ObjectIdentifier treeDigest, XMSSPrivateKeyParameters keyParams)
References Deprecated
See corresponding docs for further information. | |
| BCXMSSPrivateKey | back to summary |
|---|---|
| public BCXMSSPrivateKey(PrivateKeyInfo keyInfo) throws IOException | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| extractKeyShard | back to summary |
|---|---|
| public XMSSPrivateKey extractKeyShard(int usageCount) Implements org. Doc from org. Return a key representing a shard of the key space that can be used usageCount times. Note this will use the range [index...index + usageCount) for the current key.
| |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Implements java. Doc from java. Returns the standard algorithm name for this key. For example, "DSA" would indicate that this key is a DSA key. See the key related sections (KeyFactory, KeyGenerator, KeyPairGenerator, and SecretKeyFactory) in the Java Security Standard Algorithm Names Specification for information about standard key algorithm names.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Implements java. Doc from java. Returns the key in its primary encoding format, or
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements java. Doc from java. Returns the name of the primary encoding format of this key,
or
| |
| getHeight | back to summary |
|---|---|
| public int getHeight() Implements org. | |
| getIndex | back to summary |
|---|---|
| public long getIndex() Implements org. Doc from org. Return the index of the next signature.
| |
| getKeyParams | back to summary |
|---|---|
| pack-priv CipherParameters getKeyParams() | |
| getTreeDigest | back to summary |
|---|---|
| public String getTreeDigest() Implements org. | |
| getTreeDigestOID | back to summary |
|---|---|
| pack-priv ASN1ObjectIdentifier getTreeDigestOID() | |
| getUsagesRemaining | back to summary |
|---|---|
| public long getUsagesRemaining() Implements org. Doc from org. Return the number of usages left for the private key.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| init | back to summary |
|---|---|
| private void init(PrivateKeyInfo keyInfo) throws IOException | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException | |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException | |