Package dev.sigstore.trustroot
Class PublicKey
- java.lang.Object
-
- dev.sigstore.trustroot.PublicKey
-
@Immutable public abstract class PublicKey extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PublicKey()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static PublicKeyfrom(PublicKey proto)abstract java.lang.StringgetKeyDetails()abstract byte[]getRawBytes()abstract ValidForgetValidFor()java.security.PublicKeytoJavaPublicKey()
-
-
-
Method Detail
-
getRawBytes
public abstract byte[] getRawBytes()
-
getKeyDetails
public abstract java.lang.String getKeyDetails()
-
getValidFor
public abstract ValidFor getValidFor()
-
toJavaPublicKey
@Lazy public java.security.PublicKey toJavaPublicKey() throws java.security.NoSuchAlgorithmException, java.security.spec.InvalidKeySpecException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.spec.InvalidKeySpecException
-
-