I hereby claim:
- I am lanimall on github.
- I am lanimall (https://keybase.io/lanimall) on keybase.
- I have a public key ASC_zdJK7YxDUYyrdSK3qlaTxuAvj1Q3AWlSRLMKJLiIHAo
To claim this, I am signing this object:
#!/bin/sh | |
MFA_SERIAL="arn:aws:iam::ACCOUNT:USER" | |
AWS_PROFILE=PROFILE | |
function awstoken() { | |
output=$(aws sts get-session-token --profile $AWS_PROFILE --serial-number $MFA_SERIAL --token-code "$@"); | |
aws_access_key_id=$(echo $output | jq -r '.Credentials.AccessKeyId') | |
aws_secret_access_key_id=$(echo $output | jq -r '.Credentials.SecretAccessKey') | |
aws_session_token=$(echo $output | jq -r '.Credentials.SessionToken') |
I hereby claim:
To claim this, I am signing this object:
public class SSLProtocolTests { | |
public static void main(String[] args) throws Exception { | |
SSLContext context = SSLContext.getInstance("TLSv1.2"); | |
context.init(null,null,null); | |
SSLSocketFactory factory = (SSLSocketFactory)context.getSocketFactory(); | |
SSLSocket socket = (SSLSocket)factory.createSocket(); | |
String[] protocols = socket.getSupportedProtocols(); |
public class SSLProtocolTests { | |
public static void main(String[] args) throws Exception { | |
SSLContext context = SSLContext.getDefault(); | |
SSLSocketFactory factory = (SSLSocketFactory)context.getSocketFactory(); | |
SSLSocket socket = (SSLSocket)factory.createSocket(); | |
String[] protocols = socket.getSupportedProtocols(); | |
System.out.println("Supported Protocols: " + protocols.length); | |
for(int i = 0; i < protocols.length; i++) |