Class XAdESEncapsulatedPKIData


  • public class XAdESEncapsulatedPKIData
    extends Object
    Class representing the Encapsulated PKI Data of the XAdES specification.
    • Constructor Detail

      • XAdESEncapsulatedPKIData

        public XAdESEncapsulatedPKIData​(String base64Conent,
                                        String encoding,
                                        String id)
        Constructor
        Parameters:
        base64Conent - base64 encoded content
        encoding - , can be null or empty; encoding http://uri.etsi.org/01903/v1.2.2#DER for denoting that the original PKI data were ASN.1 data encoded in DER. http://uri.etsi.org/01903/v1.2.2#BER for denoting that the original PKI data were ASN.1 data encoded in BER. http://uri.etsi.org/01903/v1.2.2#CER for denoting that the original PKI data were ASN.1 data encoded in CER. http://uri.etsi.org/01903/v1.2.2#PER for denoting that the original PKI data were ASN.1 data encoded in PER. http://uri.etsi.org/01903/v1.2.2#XER for denoting that the original PKI data were ASN.1 data encoded in XER.
        id - ID for the Id attribute, can be null
        Throws:
        IllegalArgumentException - if base64Conent is null or empty
    • Method Detail

      • getBase64Conent

        public String getBase64Conent()
        Returns the base 64 encoded content. Cannot be null or empty.
      • getEncoding

        public String getEncoding()
        Returns the character encoding of the content. Cannot be null or empty.
      • getId

        public String getId()