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 URIDereferencer
getURIDereferencer()
boolean
isFeatureSupported(String feature)
KeyInfo
newKeyInfo(List content)
KeyInfo
newKeyInfo(List content, String id)
KeyName
newKeyName(String name)
KeyValue
newKeyValue(PublicKey key)
PGPData
newPGPData(byte[] keyId)
PGPData
newPGPData(byte[] keyId, byte[] keyPacket, List other)
PGPData
newPGPData(byte[] keyPacket, List other)
RetrievalMethod
newRetrievalMethod(String uri)
RetrievalMethod
newRetrievalMethod(String uri, String type, List transforms)
X509Data
newX509Data(List content)
X509IssuerSerial
newX509IssuerSerial(String issuerName, BigInteger serialNumber)
KeyInfo
unmarshalKeyInfo(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:
newKeyInfo
in classKeyInfoFactory
-
newKeyInfo
public KeyInfo newKeyInfo(List content, String id)
- Specified by:
newKeyInfo
in classKeyInfoFactory
-
newKeyName
public KeyName newKeyName(String name)
- Specified by:
newKeyName
in classKeyInfoFactory
-
newKeyValue
public KeyValue newKeyValue(PublicKey key) throws KeyException
- Specified by:
newKeyValue
in classKeyInfoFactory
- Throws:
KeyException
-
newPGPData
public PGPData newPGPData(byte[] keyId)
- Specified by:
newPGPData
in classKeyInfoFactory
-
newPGPData
public PGPData newPGPData(byte[] keyId, byte[] keyPacket, List other)
- Specified by:
newPGPData
in classKeyInfoFactory
-
newPGPData
public PGPData newPGPData(byte[] keyPacket, List other)
- Specified by:
newPGPData
in classKeyInfoFactory
-
newRetrievalMethod
public RetrievalMethod newRetrievalMethod(String uri)
- Specified by:
newRetrievalMethod
in classKeyInfoFactory
-
newRetrievalMethod
public RetrievalMethod newRetrievalMethod(String uri, String type, List transforms)
- Specified by:
newRetrievalMethod
in classKeyInfoFactory
-
newX509Data
public X509Data newX509Data(List content)
- Specified by:
newX509Data
in classKeyInfoFactory
-
newX509IssuerSerial
public X509IssuerSerial newX509IssuerSerial(String issuerName, BigInteger serialNumber)
- Specified by:
newX509IssuerSerial
in classKeyInfoFactory
-
isFeatureSupported
public boolean isFeatureSupported(String feature)
- Specified by:
isFeatureSupported
in classKeyInfoFactory
-
getURIDereferencer
public URIDereferencer getURIDereferencer()
- Specified by:
getURIDereferencer
in classKeyInfoFactory
-
unmarshalKeyInfo
public KeyInfo unmarshalKeyInfo(XMLStructure xmlStructure) throws MarshalException
- Specified by:
unmarshalKeyInfo
in classKeyInfoFactory
- Throws:
MarshalException
-
-