Interface PublicKeyOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    PublicKey, PublicKey.Builder

    public interface PublicKeyOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      PublicKeyAlgorithm getAlgorithm()
      The cryptographic algorithm to use with the key material
      int getAlgorithmValue()
      The cryptographic algorithm to use with the key material
      java.lang.String getContent()
      PKIX, ASN.1 DER or PEM-encoded public key.
      com.google.protobuf.ByteString getContentBytes()
      PKIX, ASN.1 DER or PEM-encoded public key.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getAlgorithmValue

        int getAlgorithmValue()
        
         The cryptographic algorithm to use with the key material
         
        .dev.sigstore.fulcio.v2.PublicKeyAlgorithm algorithm = 1;
        Returns:
        The enum numeric value on the wire for algorithm.
      • getAlgorithm

        PublicKeyAlgorithm getAlgorithm()
        
         The cryptographic algorithm to use with the key material
         
        .dev.sigstore.fulcio.v2.PublicKeyAlgorithm algorithm = 1;
        Returns:
        The algorithm.
      • getContent

        java.lang.String getContent()
        
         PKIX, ASN.1 DER or PEM-encoded public key. PEM is typically
         of type PUBLIC KEY.
         
        string content = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The content.
      • getContentBytes

        com.google.protobuf.ByteString getContentBytes()
        
         PKIX, ASN.1 DER or PEM-encoded public key. PEM is typically
         of type PUBLIC KEY.
         
        string content = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for content.