/** * Return a DHPublicKey from the passed in tagged object. * * @param obj a tagged object. * @param explicit true if the contents of the object is explictly tagged, false otherwise. * @return a DHPublicKey */ public static DHPublicKey getInstance(ASN1TaggedObject obj, boolean explicit) { return getInstance(ASN1Integer.getInstance(obj, explicit)); }
public static DHPublicKey getInstance(ASN1TaggedObject obj, boolean explicit) { return getInstance(ASN1Integer.getInstance(obj, explicit)); }
DHPublicKey dhPublicKey = DHPublicKey.getInstance(keyInfo.parsePublicKey());
DHPublicKey dhPublicKey = DHPublicKey.getInstance(keyInfo.parsePublicKey());