List of usage examples for com.amazonaws.services.s3.model SSECustomerKey getKey
public String getKey()
From source file:org.apache.beam.sdk.io.aws.s3.S3TestUtils.java
License:Apache License
@Nullable static String getSSECustomerKeyMd5(S3Options options) { SSECustomerKey sseCostumerKey = options.getSSECustomerKey(); if (sseCostumerKey != null) { return Base64.encodeAsString(DigestUtils.md5(Base64.decode(sseCostumerKey.getKey()))); }//from w w w . j a v a 2 s . c om return null; }