Esempio 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.
  */
 // TODO Add a functional constructor from byte[]?
 public AuthorityKeyIdentifierStructure(
     Asn1OctetString encodedValue)
     : base((Asn1Sequence)X509ExtensionUtilities.FromExtensionValue(encodedValue))
 {
 }
Esempio n. 2
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))
 {
 }