MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / getPublicKey

Method getPublicKey

src/main/java/core/org/xbill/DNS/KEYBase.java:143–150  ·  view source on GitHub ↗

Returns a PublicKey corresponding to the data in this key. @throws DNSSEC.DNSSECException The key could not be converted.

()

Source from the content-addressed store, hash-verified

141 * @throws DNSSEC.DNSSECException The key could not be converted.
142 */
143public PublicKey
144getPublicKey() throws DNSSEC.DNSSECException {
145 if (publicKey != null)
146 return publicKey;
147
148 publicKey = DNSSEC.toPublicKey(this);
149 return publicKey;
150}
151
152void
153rrToWire(DNSOutput out, Compression c, boolean canonical) {

Callers 4

verifyMethod · 0.80
signMethod · 0.80
signMessageMethod · 0.80
verifyMessageMethod · 0.80

Calls 1

toPublicKeyMethod · 0.95

Tested by

no test coverage detected