All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractCOSEKey, EC2COSEKey, EdDSACOSEKey, RSACOSEKey

public interface COSEKey extends Serializable
  • Method Details

    • hasPublicKey

      boolean hasPublicKey()
    • hasPrivateKey

      boolean hasPrivateKey()
    • getPublicKey

      @Nullable PublicKey getPublicKey()
    • getPrivateKey

      @Nullable PrivateKey getPrivateKey()
    • getKeyType

      @Nullable COSEKeyType getKeyType()
    • getKeyId

      @org.checkerframework.checker.nullness.qual.Nullable byte[] getKeyId()
    • getAlgorithm

      @Nullable COSEAlgorithmIdentifier getAlgorithm()
    • getKeyOps

      @Nullable List<COSEKeyOperation> getKeyOps()
    • getBaseIV

      @org.checkerframework.checker.nullness.qual.Nullable byte[] getBaseIV()
    • validate

      void validate()