| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| pack-priv static final List | |
| private final Provider |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | PKIXCertPath(Provider fipsProvider, InputStream inStream, String encoding)
Creates a CertPath of the specified type. |
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: an immutable List of Certificates (may be empty, but not null)Implements abstract java. |
| public byte[] | Returns: the encoded bytesImplements abstract java. |
| public byte[] | Returns: the encoded bytesthe name of the encoding to use encoding)Implements abstract java. |
| public Iterator | Returns: an Iterator over the names of the supported encodings (as Strings)Implements abstract java. |
| private List | |
| private ASN1Primitive | Returns: the DERObjectthe X509Certificate object to be encoded cert)Return a DERObject containing the encoded certificate. |
| private byte[] |
| certificates | back to summary |
|---|---|
| private List<E> certificates | |
| certPathEncodings | back to summary |
|---|---|
| pack-priv static final List<E> certPathEncodings | |
| fipsProvider | back to summary |
|---|---|
| private final Provider fipsProvider | |
| PKIXCertPath | back to summary |
|---|---|
| pack-priv PKIXCertPath(Provider fipsProvider, List<E> certificates) | |
| PKIXCertPath | back to summary |
|---|---|
| pack-priv PKIXCertPath(Provider fipsProvider, InputStream inStream, String encoding) throws CertificateException Creates a CertPath of the specified type. This constructor is protected because most users should use a CertificateFactory to create CertPaths. | |
| getCertificates | back to summary |
|---|---|
| public List Implements abstract java. Returns the list of certificates in this certification path. The List returned must be immutable and thread-safe.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws CertificateEncodingException Implements abstract java. Returns the encoded form of this certification path, using the default encoding.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded(String encoding) throws CertificateEncodingException Implements abstract java. Returns the encoded form of this certification path, using the specified encoding.
| |
| getEncodings | back to summary |
|---|---|
| public Iterator Implements abstract java. Returns an iteration of the encodings supported by this certification path, with the default encoding first. Attempts to modify the returned Iterator via its remove method result in an UnsupportedOperationException.
| |
| sortCerts | back to summary |
|---|---|
| private List | |
| toASN1Object | back to summary |
|---|---|
| private ASN1Primitive toASN1Object(X509Certificate cert) throws CertificateEncodingException Return a DERObject containing the encoded certificate.
| |
| toDEREncoded | back to summary |
|---|---|
| private byte[] toDEREncoded(ASN1Encodable obj) throws CertificateEncodingException | |
| Modifier and Type | Field and Description |
|---|---|
| private final ByteArrayOutputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements abstract java. Implements java. |
| public void | flush()
Implements abstract java. Implements java. |
| public void | write(char[]
Array of characters chars, int Offset from which to start writing characters offSet, int Number of characters to write length)Implements abstract java. |
| bOut | back to summary |
|---|---|
| private final ByteArrayOutputStream bOut | |
| ByteArrayWriter | back to summary |
|---|---|
| pack-priv ByteArrayWriter(ByteArrayOutputStream bOut) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements abstract java. Implements java. Doc from java. Closes the stream, flushing it first. Once the stream has been closed, further write() or flush() invocations will cause an IOException to be thrown. Closing a previously closed stream has no effect.
| |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Implements abstract java. Implements java. Doc from java. Flushes the stream. If the stream has saved any characters from the various write() methods in a buffer, write them immediately to their intended destination. Then, if that destination is another character or byte stream, flush it. Thus one flush() invocation will flush all the buffers in a chain of Writers and OutputStreams. If the intended destination of this stream is an abstraction provided by the underlying operating system, for example a file, then flushing the stream guarantees only that bytes previously written to the stream are passed to the operating system for writing; it does not guarantee that they are actually written to a physical device such as a disk drive.
| |
| write | back to summary |
|---|---|
| public void write(char[] chars, int offSet, int length) throws IOException Implements abstract java. Doc from java. Writes a portion of an array of characters.
| |