|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xbill.DNS.security.KEYConverter
public class KEYConverter
Routines to convert between a DNS KEY record and a Java PublicKey.
Constructor Summary | |
---|---|
KEYConverter()
|
Method Summary | |
---|---|
static Record |
buildRecord(Name name,
int type,
int dclass,
long ttl,
int flags,
int proto,
int alg,
PublicKey key)
Builds a DNSKEY or KEY record from a PublicKey |
static KEYRecord |
buildRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
PublicKey key)
Builds a KEY record from a PublicKey |
static PublicKey |
parseRecord(DNSKEYRecord r)
Converts a DNSKEY record into a PublicKey |
static PublicKey |
parseRecord(KEYRecord r)
Converts a KEY record into a PublicKey |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KEYConverter()
Method Detail |
---|
public static PublicKey parseRecord(DNSKEYRecord r)
public static PublicKey parseRecord(KEYRecord r)
public static KEYRecord buildRecord(Name name, int dclass, long ttl, int flags, int proto, PublicKey key)
public static Record buildRecord(Name name, int type, int dclass, long ttl, int flags, int proto, int alg, PublicKey key)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |