public class BCDHPublicKey extends Object implements DHPublicKey
Constructor and Description |
---|
BCDHPublicKey(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo info) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.crypto.params.DHPublicKeyParameters |
engineGetKeyParameters() |
boolean |
equals(Object o) |
String |
getAlgorithm() |
byte[] |
getEncoded() |
String |
getFormat() |
DHParameterSpec |
getParams() |
BigInteger |
getY() |
int |
hashCode() |
public BCDHPublicKey(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo info)
public String getAlgorithm()
getAlgorithm
in interface Key
public byte[] getEncoded()
getEncoded
in interface Key
public DHParameterSpec getParams()
public BigInteger getY()
getY
in interface DHPublicKey
public org.bouncycastle.crypto.params.DHPublicKeyParameters engineGetKeyParameters()
Copyright © 2017 BouncyCastle.org. All rights reserved.