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