Class BCDHPublicKey
- java.lang.Object
-
- org.bouncycastle.jcajce.provider.asymmetric.dh.BCDHPublicKey
-
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
,DHKey
,DHPublicKey
public class BCDHPublicKey extends Object implements DHPublicKey
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BCDHPublicKey(SubjectPublicKeyInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DHPublicKeyParameters
engineGetKeyParameters()
boolean
equals(Object o)
String
getAlgorithm()
byte[]
getEncoded()
String
getFormat()
DHParameterSpec
getParams()
BigInteger
getY()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
BCDHPublicKey
public BCDHPublicKey(SubjectPublicKeyInfo info)
-
-
Method Detail
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm
in interfaceKey
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfaceKey
-
getParams
public DHParameterSpec getParams()
-
getY
public BigInteger getY()
- Specified by:
getY
in interfaceDHPublicKey
-
engineGetKeyParameters
public DHPublicKeyParameters engineGetKeyParameters()
-
-