use of io.churchkey.asn1.Oid in project churchkey by tomitribe.
the class EcCurveParams method parseOid.
public static Oid parseOid(final byte[] data) throws IOException {
final DerParser d1 = new DerParser(data);
final Asn1Object d1o1 = d1.readObject().assertType(Asn1Type.OBJECT_IDENTIFIER);
return d1o1.asOID();
}
Aggregations