Package io.quarkus.vault.pki
Interface PrivateKeyData
-
- All Known Implementing Classes:
PrivateKeyData.DER,PrivateKeyData.PEM
public interface PrivateKeyData
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPrivateKeyData.DERDataFormat.DERimplementation ofPrivateKeyDatastatic classPrivateKeyData.PEMDataFormat.PEMimplementation ofPrivateKeyData
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetData()Data inDataFormat.DERorDataFormat.PEMformat.DataFormatgetFormat()Format ofgetData()property.KeySpecgetKeySpec()booleanisPKCS8()Isdataencoded in PKCS8 format?
-
-
-
Method Detail
-
getFormat
DataFormat getFormat()
Format ofgetData()property.
-
getData
Object getData()
Data inDataFormat.DERorDataFormat.PEMformat.- See Also:
getFormat()
-
isPKCS8
boolean isPKCS8()
Isdataencoded in PKCS8 format?
-
getKeySpec
KeySpec getKeySpec()
- Throws:
IllegalStateException- When called on non-PKCS8 encoded data.
-
-