public class DHParameters extends Object implements Serializable
Constructor and Description |
---|
DHParameters(BigInteger prime,
BigInteger generator,
int privateValueLength) |
Modifier and Type | Method and Description |
---|---|
static OctetString |
encodeBER(BigInteger prime,
BigInteger generator,
int privateValueLength) |
boolean |
equals(Object o) |
static DHParameters |
getDHParametersFromBER(OctetString berValue) |
BigInteger |
getGenerator() |
BigInteger |
getPrime() |
int |
getPrivateValueLength() |
int |
hashCode() |
String |
toString() |
public DHParameters(BigInteger prime, BigInteger generator, int privateValueLength)
public static OctetString encodeBER(BigInteger prime, BigInteger generator, int privateValueLength)
public static DHParameters getDHParametersFromBER(OctetString berValue) throws IOException
IOException
public BigInteger getPrime()
public BigInteger getGenerator()
public int getPrivateValueLength()
Copyright © 2018 SNMP4J.org. All rights reserved.