Module org.apache.santuario.xmlsec
Class DOMKeyInfoFactory
- java.lang.Object
-
- javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
- org.apache.jcp.xml.dsig.internal.dom.DOMKeyInfoFactory
-
public final class DOMKeyInfoFactory extends KeyInfoFactory
DOM-based implementation of KeyInfoFactory.
-
-
Constructor Summary
Constructors Constructor Description DOMKeyInfoFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIDereferencergetURIDereferencer()booleanisFeatureSupported(String feature)KeyInfonewKeyInfo(List content)KeyInfonewKeyInfo(List content, String id)KeyNamenewKeyName(String name)KeyValuenewKeyValue(PublicKey key)PGPDatanewPGPData(byte[] keyId)PGPDatanewPGPData(byte[] keyId, byte[] keyPacket, List other)PGPDatanewPGPData(byte[] keyPacket, List other)RetrievalMethodnewRetrievalMethod(String uri)RetrievalMethodnewRetrievalMethod(String uri, String type, List transforms)X509DatanewX509Data(List content)X509IssuerSerialnewX509IssuerSerial(String issuerName, BigInteger serialNumber)KeyInfounmarshalKeyInfo(XMLStructure xmlStructure)-
Methods inherited from class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
getInstance, getInstance, getInstance, getInstance, getMechanismType, getProvider
-
-
-
-
Method Detail
-
newKeyInfo
public KeyInfo newKeyInfo(List content)
- Specified by:
newKeyInfoin classKeyInfoFactory
-
newKeyInfo
public KeyInfo newKeyInfo(List content, String id)
- Specified by:
newKeyInfoin classKeyInfoFactory
-
newKeyName
public KeyName newKeyName(String name)
- Specified by:
newKeyNamein classKeyInfoFactory
-
newKeyValue
public KeyValue newKeyValue(PublicKey key) throws KeyException
- Specified by:
newKeyValuein classKeyInfoFactory- Throws:
KeyException
-
newPGPData
public PGPData newPGPData(byte[] keyId)
- Specified by:
newPGPDatain classKeyInfoFactory
-
newPGPData
public PGPData newPGPData(byte[] keyId, byte[] keyPacket, List other)
- Specified by:
newPGPDatain classKeyInfoFactory
-
newPGPData
public PGPData newPGPData(byte[] keyPacket, List other)
- Specified by:
newPGPDatain classKeyInfoFactory
-
newRetrievalMethod
public RetrievalMethod newRetrievalMethod(String uri)
- Specified by:
newRetrievalMethodin classKeyInfoFactory
-
newRetrievalMethod
public RetrievalMethod newRetrievalMethod(String uri, String type, List transforms)
- Specified by:
newRetrievalMethodin classKeyInfoFactory
-
newX509Data
public X509Data newX509Data(List content)
- Specified by:
newX509Datain classKeyInfoFactory
-
newX509IssuerSerial
public X509IssuerSerial newX509IssuerSerial(String issuerName, BigInteger serialNumber)
- Specified by:
newX509IssuerSerialin classKeyInfoFactory
-
isFeatureSupported
public boolean isFeatureSupported(String feature)
- Specified by:
isFeatureSupportedin classKeyInfoFactory
-
getURIDereferencer
public URIDereferencer getURIDereferencer()
- Specified by:
getURIDereferencerin classKeyInfoFactory
-
unmarshalKeyInfo
public KeyInfo unmarshalKeyInfo(XMLStructure xmlStructure) throws MarshalException
- Specified by:
unmarshalKeyInfoin classKeyInfoFactory- Throws:
MarshalException
-
-