org.xbill.DNS.security
Class KEYConverter
java.lang.Object
org.xbill.DNS.security.KEYConverter
- public class KEYConverter
- extends Object
Routines to convert between a DNS KEY record and a Java PublicKey.
- Author:
- Brian Wellington
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEYConverter
public KEYConverter()
parseRecord
public static PublicKey parseRecord(KEYRecord r)
- Converts a KEY record into a PublicKey
buildRecord
public static KEYRecord buildRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
PublicKey key)
- Builds a KEY record from a PublicKey