JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
H
K
O
P
R
S
T
V
A
addPlatformTrustedCertificates()
- Method in class okhttp3.tls.
HandshakeCertificates.Builder
Add all of the host platform's trusted root certificates.
addSubjectAlternativeName(String)
- Method in class okhttp3.tls.
HeldCertificate.Builder
Adds a subject alternative name (SAN) to the certificate.
addTrustedCertificate(X509Certificate)
- Method in class okhttp3.tls.
HandshakeCertificates.Builder
Add a trusted root certificate to use when authenticating a peer.
B
build()
- Method in class okhttp3.tls.
HandshakeCertificates.Builder
build()
- Method in class okhttp3.tls.
HeldCertificate.Builder
Builder()
- Constructor for class okhttp3.tls.
HandshakeCertificates.Builder
Builder()
- Constructor for class okhttp3.tls.
HeldCertificate.Builder
C
certificate()
- Method in class okhttp3.tls.
HeldCertificate
certificateAuthority(int)
- Method in class okhttp3.tls.
HeldCertificate.Builder
Set this certificate to be a signing certificate, with up to
maxIntermediateCas
intermediate signing certificates beneath it.
certificatePem()
- Method in class okhttp3.tls.
HeldCertificate
Returns the certificate encoded in
PEM format
.
commonName(String)
- Method in class okhttp3.tls.
HeldCertificate.Builder
Set this certificate's common name (CN).
D
duration(long, TimeUnit)
- Method in class okhttp3.tls.
HeldCertificate.Builder
Sets the certificate to be valid immediately and until the specified duration has elapsed.
E
ecdsa256()
- Method in class okhttp3.tls.
HeldCertificate.Builder
Configure the certificate to generate a 256-bit ECDSA key, which provides about 128 bits of security.
H
HandshakeCertificates
- Class in
okhttp3.tls
Certificates to identify which peers to trust and also to earn the trust of those peers in kind.
HandshakeCertificates.Builder
- Class in
okhttp3.tls
heldCertificate(HeldCertificate, X509Certificate...)
- Method in class okhttp3.tls.
HandshakeCertificates.Builder
Configure the certificate chain to use when being authenticated.
HeldCertificate
- Class in
okhttp3.tls
A certificate and its private key.
HeldCertificate(KeyPair, X509Certificate)
- Constructor for class okhttp3.tls.
HeldCertificate
HeldCertificate.Builder
- Class in
okhttp3.tls
Build a held certificate with reasonable defaults.
K
keyManager()
- Method in class okhttp3.tls.
HandshakeCertificates
keyPair(KeyPair)
- Method in class okhttp3.tls.
HeldCertificate.Builder
Sets the public/private key pair used for this certificate.
keyPair(PublicKey, PrivateKey)
- Method in class okhttp3.tls.
HeldCertificate.Builder
Sets the public/private key pair used for this certificate.
keyPair()
- Method in class okhttp3.tls.
HeldCertificate
O
okhttp3.tls
- package okhttp3.tls
OkHttp Transport Layer Security (TLS) library.
organizationalUnit(String)
- Method in class okhttp3.tls.
HeldCertificate.Builder
Sets the certificate's organizational unit (OU).
P
privateKeyPkcs1Pem()
- Method in class okhttp3.tls.
HeldCertificate
Returns the RSA private key encoded in
PKCS #1
PEM format
.
privateKeyPkcs8Pem()
- Method in class okhttp3.tls.
HeldCertificate
Returns the RSA private key encoded in
PKCS #8
PEM format
.
R
rsa2048()
- Method in class okhttp3.tls.
HeldCertificate.Builder
Configure the certificate to generate a 2048-bit RSA key, which provides about 112 bits of security.
S
serialNumber(BigInteger)
- Method in class okhttp3.tls.
HeldCertificate.Builder
Sets this certificate's serial number.
serialNumber(long)
- Method in class okhttp3.tls.
HeldCertificate.Builder
Sets this certificate's serial number.
signedBy(HeldCertificate)
- Method in class okhttp3.tls.
HeldCertificate.Builder
Set the certificate that will issue this certificate.
sslContext()
- Method in class okhttp3.tls.
HandshakeCertificates
sslSocketFactory()
- Method in class okhttp3.tls.
HandshakeCertificates
T
trustManager()
- Method in class okhttp3.tls.
HandshakeCertificates
V
validityInterval(long, long)
- Method in class okhttp3.tls.
HeldCertificate.Builder
Sets the certificate to be valid in
[notBefore..notAfter]
.
A
B
C
D
E
H
K
O
P
R
S
T
V
Skip navigation links
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2019. All rights reserved.