Package org.bouncycastle.crypto.tls
Class URLAndHash
- java.lang.Object
-
- org.bouncycastle.crypto.tls.URLAndHash
-
public class URLAndHash extends java.lang.ObjectDeprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).RFC 6066 5.
-
-
Constructor Summary
Constructors Constructor Description URLAndHash(java.lang.String url, byte[] sha1Hash)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidencode(java.io.OutputStream output)Deprecated.Encode thisURLAndHashto anOutputStream.byte[]getSHA1Hash()Deprecated.java.lang.StringgetURL()Deprecated.static URLAndHashparse(TlsContext context, java.io.InputStream input)Deprecated.Parse aURLAndHashfrom anInputStream.
-
-
-
Method Detail
-
getURL
public java.lang.String getURL()
Deprecated.
-
getSHA1Hash
public byte[] getSHA1Hash()
Deprecated.
-
encode
public void encode(java.io.OutputStream output) throws java.io.IOExceptionDeprecated.Encode thisURLAndHashto anOutputStream.- Parameters:
output- theOutputStreamto encode to.- Throws:
java.io.IOException
-
parse
public static URLAndHash parse(TlsContext context, java.io.InputStream input) throws java.io.IOException
Deprecated.Parse aURLAndHashfrom anInputStream.- Parameters:
context- theTlsContextof the current connection.input- theInputStreamto parse from.- Returns:
- a
URLAndHashobject. - Throws:
java.io.IOException
-
-