public class X509AttributeCertificateImpl extends EncapsulatedPKIDataType implements X509AttributeCertificate
X509AttributeCertificate element that supports the
DOM XML representation and processing mechanism.encoding_implMap_, state_, STATE_CREATED, STATE_MARSHALED, STATE_UNINITIALIZED, STATE_UNMARSHALEDLOCAL_NAMEENCODING_BER, ENCODING_CER, ENCODING_DER, ENCODING_PER, ENCODING_XER| Constructor and Description |
|---|
X509AttributeCertificateImpl(AttributeCertificate attributeCertificate,
String id,
String encoding)
Creates a new instance of this
X509AttributeCertificateImpl with the
given attribute certificate. |
X509AttributeCertificateImpl(DOMCryptoContext context,
Node node)
Creates a new instance of this
CertifiedRoleImpl with the
given context and node. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAttributeCertificate()
Returns the attribute certificate.
|
protected InputStream |
getEncodedPKIValue(String encoding)
Returns the encapsulated PKI value encoded with the specified encoding.
|
String |
getLocalName() |
protected void |
setEncodedPKIValue(InputStream encoded,
String encoding)
Sets the encapsulated PKI value encoded with the specified encoding.
|
getEncoding, getId, marshalAttributes, marshalElement, marshalIDAttribute, unmarshalAttributes, unmarshalElementgetInstance, getNamespace, getParentQualifyingPropertiesOf, getParentSignatureOfaddBytesToElement, addBytesToElement, clearMarshalling, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructures, getChildStructureVersion, getHere, getImplClass, getInstance, getInstance, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshal, newIDforLookUp, putChildStructure, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, toString, unmarshal, unmarshalIDAttribute, unmarshalStructures, wrapNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEncoding, getIdisFeatureSupportedpublic X509AttributeCertificateImpl(DOMCryptoContext context, Node node) throws MarshalException
CertifiedRoleImpl with the
given context and node.context - the contextnode - the node to unmarshal fromMarshalException - if an exception occurs during unmarshalingpublic X509AttributeCertificateImpl(AttributeCertificate attributeCertificate, String id, String encoding)
X509AttributeCertificateImpl with the
given attribute certificate.attributeCertificate - the attribute certificateid - the id-attribute valueencoding - the encodingNullPointerException - if config or attributeCertficate is
nullprotected InputStream getEncodedPKIValue(String encoding) throws MarshalException
EncapsulatedPKIDataTypegetEncodedPKIValue in class EncapsulatedPKIDataTypeencoding - the encodingMarshalException - if the specified encoding is not supported or the
encoding failsEncapsulatedPKIDataType.getEncodedPKIValue(java.lang.String)protected void setEncodedPKIValue(InputStream encoded, String encoding) throws MarshalException
EncapsulatedPKIDataTypesetEncodedPKIValue in class EncapsulatedPKIDataTypeencoded - the encoded PKI valueencoding - the encodingMarshalException - if the specified encoding is not supported or the
decoding failsEncapsulatedPKIDataType.setEncodedPKIValue(java.io.InputStream,
java.lang.String)public byte[] getAttributeCertificate()
X509AttributeCertificategetAttributeCertificate in interface X509AttributeCertificateCertifiedRole.getAttributeCertificate()public String getLocalName()
getLocalName in class iaik.xml.crypto.dom.DOMStructureDOMStructure.getLocalName()© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC