|
Bouncy Castle Cryptography 1.21 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.security.cert.CertificateFactorySpi | +--org.bouncycastle.jce.cert.CertificateFactorySpi
Constructor Summary | |
CertificateFactorySpi()
|
Method Summary | |
abstract CertPath |
engineGenerateCertPath(java.io.InputStream inStream)
Generates a CertPath object and initializes it with
the data read from the InputStream inStream. |
abstract CertPath |
engineGenerateCertPath(java.io.InputStream inStream,
java.lang.String encoding)
Generates a CertPath object and initializes it with
the data read from the InputStream inStream. |
abstract CertPath |
engineGenerateCertPath(java.util.List certificates)
Generates a CertPath object and initializes it with
a List of Certificate s.The certificates supplied must be of a type supported by the CertificateFactory . |
abstract java.util.Iterator |
engineGetCertPathEncodings()
Returns an iteration of the CertPath encodings supported
by this certificate factory, with the default encoding first. |
Methods inherited from class java.security.cert.CertificateFactorySpi |
engineGenerateCertificate, engineGenerateCertificates, engineGenerateCRL, engineGenerateCRLs |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CertificateFactorySpi()
Method Detail |
public abstract java.util.Iterator engineGetCertPathEncodings()
CertPath
encodings supported
by this certificate factory, with the default encoding first. See
Appendix A in the
Java Certification Path API Programmer's Guide
for information about standard encoding names.Iterator
via its
remove
method result in an
UnsupportedOperationException
.abstract
and by default throws an UnsupportedOperationException
.
engineGetCertPathEncodings
in class java.security.cert.CertificateFactorySpi
Iterator
over the names of the supported
CertPath
encodings (as String
s)
java.lang.UnsupportedOperationException
- if the method is not supportedpublic abstract CertPath engineGenerateCertPath(java.io.InputStream inStream) throws java.security.cert.CertificateException
CertPath
object and initializes it with
the data read from the InputStream
inStream. The data
is assumed to be in the default encoding.
engineGenerateCertPath
in class java.security.cert.CertificateFactorySpi
inStream
- an InputStream
containing the data
CertPath
initialized with the data from the
InputStream
java.security.cert.CertificateException
- if an exception occurs while decodingpublic abstract CertPath engineGenerateCertPath(java.io.InputStream inStream, java.lang.String encoding) throws java.security.cert.CertificateException
CertPath
object and initializes it with
the data read from the InputStream
inStream. The data
is assumed to be in the specified encoding.abstract
and by default throws an UnsupportedOperationException
.
engineGenerateCertPath
in class java.security.cert.CertificateFactorySpi
inStream
- an InputStream
containing the dataencoding
- the encoding used for the data
CertPath
initialized with the data from the
InputStream
java.security.cert.CertificateException
- if an exception occurs while decoding or
the encoding requested is not supported
java.lang.UnsupportedOperationException
- if the method is not supportedpublic abstract CertPath engineGenerateCertPath(java.util.List certificates) throws java.security.cert.CertificateException
CertPath
object and initializes it with
a List
of Certificate
s.CertificateFactory
. They will be copied out of the supplied
List
object.abstract
and by default throws an UnsupportedOperationException
.
engineGenerateCertPath
in class java.security.cert.CertificateFactorySpi
certificates
- a List
of Certificate
s
CertPath
initialized with the supplied list of
certificates
java.security.cert.CertificateException
- if an exception occurs
java.lang.UnsupportedOperationException
- if the method is not supported
|
Bouncy Castle Cryptography 1.21 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |