java.lang.Object
org.snmp4j.security.dh.DHOperations.DHKeyInfo
- All Implemented Interfaces:
Serializable
- Enclosing class:
DHOperations
The
DHSharedKeyInfo
provides DH key exchange information that associates a user name with a key
(private or shared) and authentication and privacy protocol OIDs necessary to create an USM
user
during a DH kick-start operation.- Since:
- 3.4.1
- See Also:
-
Constructor Summary
ConstructorDescriptionDHKeyInfo
(OctetString userName, byte[] privateKey, OID authProtocol, OID privProtocol) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
byte[]
byte[]
void
setAuthKey
(byte[] authKey) void
setPrivKey
(byte[] privKey)
-
Constructor Details
-
DHKeyInfo
-
-
Method Details
-
getUserName
-
getPrivateKey
public byte[] getPrivateKey() -
getAuthKey
public byte[] getAuthKey() -
getPrivKey
public byte[] getPrivKey() -
setAuthKey
public void setAuthKey(byte[] authKey) -
setPrivKey
public void setPrivKey(byte[] privKey) -
getAuthProtocol
-
getPrivProtocol
-