| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final AlgorithmIdentifier | |
| private final GeneralName |
| Access | Constructor and Description |
|---|---|
| public | ExternalPublicKey(GeneralName
location URI for the actual public key. location, AlgorithmIdentifier hashing algorithm used to hash the actual public key encoding. digestAlg, byte[] digest of the actual public key. digest)Base constructor with fundamental contents. |
| public | ExternalPublicKey(PublicKey
the public key we are externalising. key, GeneralName location URI for the actual public key. location, MessageDigest digest to use for hashing the key. digest)Helper constructor with JCA contents. |
| public | ExternalPublicKey(ExternalValue
structure with location, hashing algorithm and hash for the public key. extKey)Base constructor with ASN.1 structure. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public byte[] | Returns: a DER encoding of SubjectPublicKeyInfo containing an ExternalValue structure.Implements java. Return a SubjectPublicKeyInfo structure containing an ExternalValue encoding for the key. |
| public String | Returns: "X.509"Implements java. Return "X.509" (DER encoded SubjectPublicKeyInfo) |
| digest | back to summary |
|---|---|
| private final byte[] digest | |
| digestAlg | back to summary |
|---|---|
| private final AlgorithmIdentifier digestAlg | |
| location | back to summary |
|---|---|
| private final GeneralName location | |
| ExternalPublicKey | back to summary |
|---|---|
| public ExternalPublicKey(GeneralName location, AlgorithmIdentifier digestAlg, byte[] digest) Base constructor with fundamental contents.
| |
| ExternalPublicKey | back to summary |
|---|---|
| public ExternalPublicKey(PublicKey key, GeneralName location, MessageDigest digest) Helper constructor with JCA contents.
| |
| ExternalPublicKey | back to summary |
|---|---|
| public ExternalPublicKey(ExternalValue extKey) Base constructor with ASN.1 structure.
| |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Implements java. Return "ExternalKey"
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Implements java. Return a SubjectPublicKeyInfo structure containing an ExternalValue encoding for the key.
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements java. Return "X.509" (DER encoded SubjectPublicKeyInfo)
| |