FromExtensionValue() public static method

public static FromExtensionValue ( Asn1OctetString extensionValue ) : Asn1Object
extensionValue Org.BouncyCastle.Asn1.Asn1OctetString
return Org.BouncyCastle.Asn1.Asn1Object
Ejemplo n.º 1
0
 /**
  * Constructor which will take the byte[] returned from getExtensionValue()
  *
  * @param encodedValue a DER octet encoded string with the extension structure in it.
  * @throws IOException on parsing errors.
  */
 public SubjectKeyIdentifierStructure(
     Asn1OctetString encodedValue)
     : base((Asn1OctetString)X509ExtensionUtilities.FromExtensionValue(encodedValue))
 {
 }
 /**
  * Constructor which will take the byte[] returned from getExtensionValue()
  *
  * @param encodedValue a DER octet encoded string with the extension structure in it.
  * @throws IOException on parsing errors.
  */
 // TODO Add a functional constructor from byte[]?
 public AuthorityKeyIdentifierStructure(
     Asn1OctetString encodedValue)
     : base((Asn1Sequence)X509ExtensionUtilities.FromExtensionValue(encodedValue))
 {
 }