public class ExternalValue extends ASN1Object
ExternalValue ::= SEQUENCE { location GeneralNames, # MUST refer to a DER encoded SubjectPublicKeyInfo/Signature (may be Base64) hashAlg AlgorithmIdentifier, hashVal OCTET STRING }
Constructor and Description |
---|
ExternalValue(GeneralName location,
AlgorithmIdentifier hashAlg,
byte[] hashVal) |
Modifier and Type | Method and Description |
---|---|
AlgorithmIdentifier |
getHashAlg() |
ASN1BitString |
getHashVal()
Deprecated.
use getHash(), the internal encoding is now an OCTET STRING
|
byte[] |
getHashValue() |
static ExternalValue |
getInstance(java.lang.Object o) |
GeneralName |
getLocation() |
GeneralName[] |
getLocations() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public ExternalValue(GeneralName location, AlgorithmIdentifier hashAlg, byte[] hashVal)
public static ExternalValue getInstance(java.lang.Object o)
public GeneralName getLocation()
public GeneralName[] getLocations()
public AlgorithmIdentifier getHashAlg()
public byte[] getHashValue()
public ASN1BitString getHashVal()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object