| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final PrivateKey | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public AnnotatedPrivateKey | Returns: a new annotated key with the extra annotation.the name of the annotation to add. name, Object the object providing the annotation details. annotation)Return a new annotated key with an additional annotation added to it. |
| 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 String | getAlgorithm()
Implements java. Returns the standard algorithm name for this key. |
| public Object | |
| public Map | |
| 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 PrivateKey | |
| public int | |
| public AnnotatedPrivateKey | Returns: a new annotated key with the named annotation removed.the name of the annotation to remove. name)Return a new annotated key with the named annotation removed. |
| public String |
| annotations | back to summary |
|---|---|
| private final Map<String, Object> annotations | |
| key | back to summary |
|---|---|
| private final PrivateKey key | |
| LABEL | back to summary |
|---|---|
| public static final String LABEL | |
| AnnotatedPrivateKey | back to summary |
|---|---|
| pack-priv AnnotatedPrivateKey(PrivateKey key, String label) | |
| AnnotatedPrivateKey | back to summary |
|---|---|
| pack-priv AnnotatedPrivateKey(PrivateKey key, Map<String, Object> annotations) | |
| addAnnotation | back to summary |
|---|---|
| public AnnotatedPrivateKey addAnnotation(String name, Object annotation) Return a new annotated key with an additional annotation added to it.
| |
| 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.
| |
| 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.
| |
| getAnnotation | back to summary |
|---|---|
| public Object getAnnotation(String key) | |
| getAnnotations | back to summary |
|---|---|
| public Map | |
| 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
| |
| getKey | back to summary |
|---|---|
| public PrivateKey getKey() | |
| 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
| |
| removeAnnotation | back to summary |
|---|---|
| public AnnotatedPrivateKey removeAnnotation(String name) Return a new annotated key with the named annotation removed.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |